fixed some corner cases in buy, fixed a bug that would invalidate auctions on bid

This commit is contained in:
Manuel Simon Hirsig
2015-10-15 21:38:34 +02:00
parent 35ebf3cf3e
commit 7be2dcba10
3 changed files with 38 additions and 30 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ function wait_for_complete_results(k)
local count, _ = GetNumAuctionItems("list")
for i=1,count do
local auction_item_info = Aux.info.auction_item(i)
if not auction_item_info.owner then
if auction_item_info and not auction_item_info.owner then
return false
end
end