refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-28 02:23:38 +02:00
parent 15e6e7409a
commit f42e54a4fc
15 changed files with 78 additions and 77 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ do
end
function merchant_loaded()
for i=1,GetMerchantNumItems() do
for i = 1, GetMerchantNumItems() do
if not GetMerchantItemLink(i) then
return false
end
@@ -107,7 +107,7 @@ end
function merchant_buy_scan()
local incomplete_data
for i=1,GetMerchantNumItems() do
for i = 1, GetMerchantNumItems() do
local _, _, price, count, stock = GetMerchantItemInfo(i)
local link = GetMerchantItemLink(i)
if link then