Fixed bag of crafting desync, when the room you enter has the same amount of pickups as the previous room
This commit is contained in:
1 parent
fb9df08cac
commit
3f5cc5dced
1 file changed
+1
@@ -608,6 +608,7 @@ end
|
||||
EID:AddCallback(ModCallbacks.MC_POST_NEW_ROOM, function(_)
|
||||
-- We're using the pickup indexes for quick checking, which reset on each new room
|
||||
pickupsCollected = {}
|
||||
recheckPickups = true
|
||||
end)
|
||||
|
||||
-- Using a Card/Pill will change our inventory craftable items, so force a refresh then
|
||||
|
||||
Reference in new issue
Block a user