small bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-02-26 20:03:49 +01:00
parent d458d82813
commit 16960d6991
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -110,6 +110,10 @@ end
do
local locked
function Aux.bid_in_progress()
return locked
end
function Aux.place_bid(type, index, amount, on_success)
if locked then
+1 -1
View File
@@ -947,7 +947,7 @@ do
elseif selection and state == IDLE then
state = SEARCHING
private.find_auction(selection.record)
elseif state == FOUND and not private.test(selection.record)(found_index) then
elseif state == FOUND and not private.test(selection.record)(found_index) and not Aux.bid_in_progress() then
state = IDLE
end
end