scanning performance improvement

This commit is contained in:
Manuel Simon Hirsig
2016-02-24 09:00:49 +01:00
parent 2d78743207
commit 6b3e5650f6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
AuxVersion = '2.4.30'
AuxVersion = '2.4.31'
Aux = {
blizzard_ui_shown = false,
+1 -1
View File
@@ -80,7 +80,7 @@ function wait_for_results(k)
last_update = GetTime()
end)
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()
ok = true
end)