now searching two pages instead of one for buying

This commit is contained in:
Simon Hirsig
2015-10-14 11:57:32 +02:00
parent b9cb058f7b
commit dcb644e65c
+6 -1
View File
@@ -186,7 +186,7 @@ function AuxBuyEntry_OnClick(entry_index)
PlaySound("igMainMenuOptionCheckBoxOn")
local found
local order_key = Aux.auction_key(entry.tooltip, entry.stack_size, amount)
local order_key = Aux.auction_key(entry.tooltip, entry.stack_size, amount)
Aux.scan.start{
query = search_query,
@@ -260,6 +260,11 @@ function AuxBuyEntry_OnClick(entry_index)
AuxBuySearchButton:Enable()
end
end,
next_page = function(page, total_pages)
if not page or page == entry.page then
return entry.page - 1
end
end,
}
end