performance improvements

This commit is contained in:
Manuel Simon Hirsig
2016-11-06 22:31:13 +01:00
parent 7acf677516
commit 23d79f65ad
3 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -127,7 +127,7 @@ do
do (on_success or nop)() end
locked = false
end)
thread(when, later(GetTime(), 5), send_signal)
thread(when, later(5), send_signal)
event_listener('CHAT_MSG_SYSTEM', function(kill)
if arg1 == ERR_AUCTION_BID_PLACED then
send_signal()
@@ -150,7 +150,7 @@ do
do (on_success or nop)() end
locked = false
end)
thread(when, later(GetTime(), 5), send_signal)
thread(when, later(5), send_signal)
event_listener('CHAT_MSG_SYSTEM', function(kill)
if arg1 == ERR_AUCTION_REMOVED then
send_signal()