fix: CanTripped Challenge error when changing rooms (with Repentogon)
fixes #901
This commit is contained in:
1 parent
b1c0f06828
commit
290372ae17
1 file changed
+2
@@ -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
|
-- read room items directly from room data when changing rooms, to ensure floor item counter doesnt desync
|
||||||
function EID:BoCOnNewRoom_Repentogon(_)
|
function EID:BoCOnNewRoom_Repentogon(_)
|
||||||
EID.BoCOnNewRoom(_)
|
EID.BoCOnNewRoom(_)
|
||||||
|
if game.Challenge == 43 then return end -- dont track items in CanTripped Challenge
|
||||||
|
|
||||||
local lastRoomDesc = game:GetLevel():GetLastRoomDesc()
|
local lastRoomDesc = game:GetLevel():GetLastRoomDesc()
|
||||||
local lastRoomEntities = lastRoomDesc:GetEntitiesSaveState()
|
local lastRoomEntities = lastRoomDesc:GetEntitiesSaveState()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user