more refactoring
This commit is contained in:
+1
-1
@@ -197,7 +197,7 @@ function public.round(x)
|
||||
return floor(x + 0.5)
|
||||
end
|
||||
|
||||
function public.inventory()
|
||||
function public.accessor.inventory()
|
||||
local bag, slot = 0, 0
|
||||
|
||||
return function()
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ function public.find(auction_record, status_bar, on_abort, on_failure, on_succes
|
||||
})
|
||||
end
|
||||
|
||||
local item_query = m.item_query(auction_record.item_id, 1, 1)
|
||||
local item_query = item_query(auction_record.item_id, 1, 1)
|
||||
if not eq(auction_record.blizzard_query, item_query.blizzard_query) then
|
||||
tinsert(queries, item_query)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user