big module refactoring
This commit is contained in:
+2
-2
@@ -145,7 +145,7 @@ function private.scan_page(i)
|
||||
end
|
||||
|
||||
local auction_info = aux.info.auction(i, m.state.params.type)
|
||||
if auction_info and (auction_info.owner or m.state.params.ignore_owner or aux_ignore_owner) then
|
||||
if auction_info and (auction_info.owner or m.state.params.ignore_owner or _G.aux_ignore_owner) then
|
||||
auction_info.index = i
|
||||
auction_info.page = m.state.page
|
||||
auction_info.blizzard_query = m.query.blizzard_query
|
||||
@@ -216,7 +216,7 @@ function private.wait_for_list_results(send_signal, signal_received)
|
||||
last_update = GetTime()
|
||||
updated = true
|
||||
end)
|
||||
local ignore_owner = m.state.params.ignore_owner or aux_ignore_owner
|
||||
local ignore_owner = m.state.params.ignore_owner or _G.aux_ignore_owner
|
||||
return aux.control.thread(aux.control.when, function()
|
||||
-- short circuiting order important, owner_data_complete must be called iif an update has happened.
|
||||
local ok = updated and (ignore_owner or m.owner_data_complete('list')) or last_update and GetTime() - last_update > 5
|
||||
|
||||
Reference in New Issue
Block a user