This commit is contained in:
Manuel Simon Hirsig
2016-10-15 01:27:01 +02:00
parent 906bcdbdcb
commit e0ce127d7f
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -40,7 +40,6 @@ do
function complete()
local on_complete = state.params.on_complete
scan_states[state.params.type] = nil
-- for _ in on_complete or nop do end TODO test performance
do (on_complete or nop)() end
end
+1
View File
@@ -107,6 +107,7 @@ function public.auction(index, query_type)
local item_info = item(item_id, suffix_id, unique_id, enchant_id)
local name, texture, count, quality, usable, level, start_price, min_increment, buyout_price, high_bid, high_bidder, owner, sale_status = GetAuctionItemInfo(query_type, index)
count = max(count, 1) -- maybe a kronos bug?
local duration = GetAuctionItemTimeLeft(query_type, index)
local tooltip, tooltip_money = tooltip(function(tooltip) tooltip:SetAuctionItem(query_type, index) end)