diff --git a/cache.lua b/cache.lua index d64506b..89bb60e 100644 --- a/cache.lua +++ b/cache.lua @@ -90,7 +90,7 @@ function private.scan_merchant() unit_price = min(old_unit_price, new_unit_price) end - aux_merchant_buy[item_id] = Aux.persistence.write(merchant_buy_schema, unit_price, old_limited or new_limited) + aux_merchant_buy[item_id] = Aux.persistence.write(merchant_buy_schema, unit_price, old_limited and new_limited) else aux_merchant_buy[item_id] = Aux.persistence.write(merchant_buy_schema, new_unit_price, new_limited) end diff --git a/core.lua b/core.lua index 11be4ca..f1aa524 100644 --- a/core.lua +++ b/core.lua @@ -1,5 +1,5 @@ Aux = { - version = '2.9.7', + version = '2.9.8', blizzard_ui_shown = false, orig = {}, }