mirror of
https://github.com/parnic/breakables.git
synced 2025-06-16 17:40:13 -05:00
- fixed bag searching to look in the base backpack in addition to the extra bags the player has. whoops.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user