Fixed Teleport 2.0 showing I AM ERROR as a destination for preAscent Mausuleum instead of Angel/devil room

This commit is contained in:
Wofsauge committed 2022-11-05 20:49:27 +01:00
1 parent 62b83cd69d
commit 57c01b2cc6
1 file changed
+2
+2
View File
@@ -193,6 +193,8 @@ function EID:Teleport2Prediction()
end
--Angel/Devil Room check (it lives off the map)
if not level:GetRoomByIdx(-1).Clear then unclearedTypes[666] = true end
-- If in Pre-Ascent version (Dad's note) of Mausuleum/Gehenna, we dont teleport to I AM ERROR but Angel/Devil
if REPENTANCE and level:IsPreAscent() then unclearedTypes[666] = true; unclearedTypes[3] = false end
local greed = game:IsGreedMode()
local roomOrder = (greed and teleport2GreedOrder) or teleport2Order