small bugfix
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user