scanning performance improvement
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
AuxVersion = '2.4.30'
|
AuxVersion = '2.4.31'
|
||||||
|
|
||||||
Aux = {
|
Aux = {
|
||||||
blizzard_ui_shown = false,
|
blizzard_ui_shown = false,
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ function wait_for_results(k)
|
|||||||
last_update = GetTime()
|
last_update = GetTime()
|
||||||
end)
|
end)
|
||||||
listener:start()
|
listener:start()
|
||||||
Aux.control.as_soon_as(function() return last_update and GetTime() - last_update > 5 or owner_data_complete end, function()
|
Aux.control.as_soon_as(function() return owner_data_complete or last_update and GetTime() - last_update > 5 end, function()
|
||||||
listener:stop()
|
listener:stop()
|
||||||
ok = true
|
ok = true
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user