From 16960d699102cfac621238e1460d8ba757bae1be Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Fri, 26 Feb 2016 20:03:49 +0100 Subject: [PATCH] small bugfix --- core.lua | 4 ++++ search_frame.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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