more refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-19 17:22:08 +02:00
parent 95250002a5
commit fc91332865
6 changed files with 47 additions and 47 deletions
+2 -2
View File
@@ -352,7 +352,7 @@ end
function unit_vendor_price(item_key)
for slot in inventory() do
for slot in inventory do
local item_info = aux.info.container_item(unpack(slot))
if item_info and item_info.item_key == item_key then
@@ -423,7 +423,7 @@ function update_inventory_records()
local auction_candidate_map = {}
for slot in inventory() do
for slot in inventory do
local item_info = aux.info.container_item(unpack(slot))
if item_info then