diff --git a/core.lua b/core.lua index 20b0a72..8d74a5d 100644 --- a/core.lua +++ b/core.lua @@ -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 diff --git a/search_frame.lua b/search_frame.lua index 0014feb..999f7d1 100644 --- a/search_frame.lua +++ b/search_frame.lua @@ -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