Another MayRespawn() fix.

Being unable to reenter your body now allows you to respawn, even if your body lives.
This commit is contained in:
PsiOmega
2015-06-08 17:39:25 +02:00
parent 9d203f1d8e
commit 13cb32fa7f
+1 -1
View File
@@ -622,7 +622,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
mob/dead/observer/MayRespawn(var/feedback = 0)
if(!client)
return 0
if(mind && mind.current && mind.current.stat != DEAD)
if(mind && mind.current && mind.current.stat != DEAD && can_reenter_corpse)
if(feedback)
src << "<span class='warning'>Your non-dead body prevent you from respawning.</span>"
return 0