refactoring
This commit is contained in:
+2
-1
@@ -438,7 +438,8 @@ function update_inventory_records()
|
||||
end
|
||||
end
|
||||
end
|
||||
init[inventory_records] = temp-values(auctionable_map)
|
||||
release(inventory_records)
|
||||
inventory_records = values(auctionable_map)
|
||||
sort(inventory_records, function(a, b) return a.name < b.name end)
|
||||
refresh = true
|
||||
end
|
||||
|
||||
@@ -176,7 +176,8 @@ function clear_form()
|
||||
UIDropDownMenu_ClearAll(quality_dropdown)
|
||||
filter_parameter_input:ClearFocus()
|
||||
wipe(post_filter)
|
||||
init[filter_builder_state] = temp-T('selected', 0)
|
||||
wipe(filter_builder_state)
|
||||
filter_builder_state.selected = 0
|
||||
update_filter_display()
|
||||
end
|
||||
|
||||
|
||||
@@ -180,7 +180,8 @@ function start_real_time_scan(query, search, continuation)
|
||||
for _, record in new_records do
|
||||
map[record.sniping_signature] = record
|
||||
end
|
||||
init[new_records] = temp-values(map)
|
||||
release(new_records)
|
||||
new_records = values(map)
|
||||
|
||||
if getn(new_records) > 2000 then
|
||||
StaticPopup_Show'AUX_SEARCH_TABLE_FULL'
|
||||
|
||||
Reference in New Issue
Block a user