From ad1989bcac489bb170ef023d8306313d3d11bf1c Mon Sep 17 00:00:00 2001 From: kittenchilly Date: Tue, 26 Apr 2022 13:26:37 -0500 Subject: [PATCH] Update eid_api.lua --- eid_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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