many gui replacements in the search tabs

This commit is contained in:
Manuel Simon Hirsig
2016-01-24 17:05:57 +01:00
parent acbde9a9dd
commit ed6f65277e
7 changed files with 227 additions and 264 deletions
+2 -1
View File
@@ -133,7 +133,8 @@ function Aux.place_bid(type, index, bid)
local money = GetMoney()
if money >= bid then
Aux.bid_lock = true
Aux.control.as_soon_as(function() return GetMoney() < money end, function()
local t0 = GetTime()
Aux.control.as_soon_as(function() return GetMoney() < money or GetTime() - t0 > 10 end, function()
Aux.bid_lock = false
end)
end