fixed bug with canceling auctions

This commit is contained in:
Manuel Simon Hirsig
2015-11-19 19:48:32 +01:00
parent 7491b9c7d7
commit 5e256bd76c
+1 -1
View File
@@ -475,7 +475,7 @@ function private.find_auction(entry, action, express_mode)
Aux.scan.abort()
else
public.dialog_action = function()
if private.create_record(Aux.info.auction(auction_info.index, 'bidder')).signature == entry.signature then
if private.create_record(Aux.info.auction(auction_info.index, action == 'cancel' and 'owner' or 'bidder')).signature == entry.signature then
if action == 'cancel' then
CancelAuction(auction_info.index)
entry.gone = true