Possibly fix runtime when sacrificing monkeys (#18108)

This commit is contained in:
moxian
2022-06-27 16:15:55 +01:00
committed by GitHub
parent da2120f60d
commit eba22daafc
+1 -1
View File
@@ -395,7 +395,7 @@ structure_check() searches for nearby cultist structures required for the invoca
to_chat(M, "<span class='cultitalic'>You are now able to construct mirror shields inside the daemon forge.</span>")
SSticker.cultdat.mirror_shields_active = TRUE
else
if(ishuman(offering) && offering.mind.offstation_role && offering.mind.special_role != SPECIAL_ROLE_ERT) //If you try it on a ghost role, you get nothing
if(ishuman(offering) && offering.mind?.offstation_role && offering.mind.special_role != SPECIAL_ROLE_ERT) //If you try it on a ghost role, you get nothing
to_chat(M, "<span class='cultlarge'>\"This soul is of no use to either of us.\"</span>")
worthless = TRUE
else if(ishuman(offering) || isrobot(offering))