diff --git a/eid_api.lua b/eid_api.lua index 40e0bba8..83550370 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -1231,7 +1231,7 @@ end function EID:IsDeathCertificateRoom() local level = game:GetLevel() - local roomData = level:GetRoomByIdx(level:GetCurrentRoomIndex()).Data + local roomData = level:GetCurrentRoomDesc().Data if roomData then if roomData.StageID == 35 then -- Home ID if roomData.SubType == 33 or roomData.SubType == 34 then -- Death Certificate room subtypes