Merge pull request #29252 from lzimann/praisebethefruit

Possibly fix player_list sometimes having a null
This commit is contained in:
Jordan Brown
2017-07-15 11:07:51 -04:00
committed by GitHub
+1 -1
View File
@@ -317,7 +317,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
set name = "Re-enter Corpse"
if(!client)
return
if(!(mind && mind.current))
if(!mind || QDELETED(mind.current))
to_chat(src, "<span class='warning'>You have no body.</span>")
return
if(!can_reenter_corpse)