Update eid_api.lua
This commit is contained in:
1 parent
7549699c68
commit
ad1989bcac
1 file changed
+1
-1
+1
-1
@@ -1231,7 +1231,7 @@ end
|
|||||||
|
|
||||||
function EID:IsDeathCertificateRoom()
|
function EID:IsDeathCertificateRoom()
|
||||||
local level = game:GetLevel()
|
local level = game:GetLevel()
|
||||||
local roomData = level:GetRoomByIdx(level:GetCurrentRoomIndex()).Data
|
local roomData = level:GetCurrentRoomDesc().Data
|
||||||
if roomData then
|
if roomData then
|
||||||
if roomData.StageID == 35 then -- Home ID
|
if roomData.StageID == 35 then -- Home ID
|
||||||
if roomData.SubType == 33 or roomData.SubType == 34 then -- Death Certificate room subtypes
|
if roomData.SubType == 33 or roomData.SubType == 34 then -- Death Certificate room subtypes
|
||||||
|
|||||||
Reference in new issue
Block a user