Better Death Certificate room detection
This commit is contained in:
1 parent
4866b3f1b6
commit
aade574a43
2 files changed
+14
-4
No files matched your search
@@ -740,10 +740,7 @@ if REPENTANCE then
|
||||
end
|
||||
function EID:onNewRoom()
|
||||
isMirrorRoom = game:GetLevel():GetCurrentRoom():IsMirrorWorld()
|
||||
|
||||
local level = game:GetLevel()
|
||||
local id = level:GetCurrentRoomIndex()
|
||||
isDeathCertRoom = (id >=0 and GetPtrHash(level:GetRoomByIdx(id)) == GetPtrHash(level:GetRoomByIdx(id, 2)))
|
||||
isDeathCertRoom = EID:IsDeathCertificateRoom()
|
||||
|
||||
-- Handle Flip Item
|
||||
initialItemNext = false
|
||||
|
||||
Reference in new issue
Block a user