refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-25 01:32:55 +02:00
parent a4e3068557
commit 9adbe7f2ca
11 changed files with 53 additions and 43 deletions
+1 -1
View File
@@ -403,7 +403,7 @@ function public.item_quality_index(item_quality)
end
end
function public.accessor.inventory()
function public.inventory.get()
local bag, slot = 0, 0
return function()
if not GetBagName(bag) or slot >= GetContainerNumSlots(bag) then