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:
Wofsauge committed 2023-11-16 21:50:46 +01:00
1 parent fb9df08cac
commit 3f5cc5dced
1 file changed
+1
+1
View File
@@ -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