Update eid_api.lua

This commit is contained in:
kittenchilly committed 2022-04-26 13:26:37 -05:00
1 parent 7549699c68
commit ad1989bcac
1 file changed
+1 -1
+1 -1
View File
@@ -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