Merge pull request #9748 from PsiOmegaDelta/150608-LostBond

Another MayRespawn() fix.
This commit is contained in:
Zuhayr
2015-06-09 12:41:01 +09:30
+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