Possibly fix player_list sometimes having a null (#2022)

This commit is contained in:
CitadelStationBot
2017-07-15 13:45:33 -05:00
committed by kevinz000
parent 82d3864625
commit b025182955
+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)