added comment
This commit is contained in:
@@ -65,7 +65,7 @@ function private.scan_merchant()
|
|||||||
local merchant_item_count = GetMerchantNumItems()
|
local merchant_item_count = GetMerchantNumItems()
|
||||||
for i=1,merchant_item_count do
|
for i=1,merchant_item_count do
|
||||||
local link = GetMerchantItemLink(i)
|
local link = GetMerchantItemLink(i)
|
||||||
if link then
|
if link then -- TODO somehow try again when the item is in the wdb?
|
||||||
local item_id = Aux.info.parse_hyperlink(link)
|
local item_id = Aux.info.parse_hyperlink(link)
|
||||||
local _, _, price, count, stock = GetMerchantItemInfo(i)
|
local _, _, price, count, stock = GetMerchantItemInfo(i)
|
||||||
local new_unit_price, new_limited = price / count, stock >= 0
|
local new_unit_price, new_limited = price / count, stock >= 0
|
||||||
|
|||||||
Reference in New Issue
Block a user