allows changelings to reenter body despite dnr (#12211)

This commit is contained in:
magatsuchi
2022-03-23 23:49:22 +00:00
committed by GitHub
parent 0260ef8235
commit a285480fba
+1 -1
View File
@@ -373,7 +373,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(!mind || QDELETED(mind.current))
to_chat(src, span_warning("You have no body."))
return
if(!can_reenter_corpse)
if(!can_reenter_corpse && !mind.has_antag_datum(/datum/antagonist/changeling)) //SKYRAT EDIT
to_chat(src, span_warning("You cannot re-enter your body."))
return
if(mind.current.key && mind.current.key[1] != "@") //makes sure we don't accidentally kick any clients