- fixed bag searching to look in the base backpack in addition to the extra bags the player has. whoops.

This commit is contained in:
parnic
2010-05-22 02:17:39 +00:00
parent e618257c7a
commit 1c0754650b

View File

@ -210,7 +210,7 @@ function Breakables:FindBreakables()
local i=1
local numBreakableStacks = 0
for bagId=1,NUM_BAG_SLOTS do
for bagId=0,NUM_BAG_SLOTS do
local found = self:FindBreakablesInBag(bagId)
for n=1,#found do
local addedToExisting = self:MergeBreakables(found[n], foundBreakables)