fix: CanTripped Challenge error when changing rooms (with Repentogon)

fixes #901
This commit is contained in:
Wofsauge committed 2025-09-11 21:58:21 +02:00
1 parent b1c0f06828
commit 290372ae17
1 file changed
+2
+2
View File
@@ -129,6 +129,8 @@ function EID:BoCDetectBagContentShift() end
-- read room items directly from room data when changing rooms, to ensure floor item counter doesnt desync
function EID:BoCOnNewRoom_Repentogon(_)
EID.BoCOnNewRoom(_)
if game.Challenge == 43 then return end -- dont track items in CanTripped Challenge
local lastRoomDesc = game:GetLevel():GetLastRoomDesc()
local lastRoomEntities = lastRoomDesc:GetEntitiesSaveState()