I'm an idiot

This commit is contained in:
D3athrow
2015-01-28 10:42:02 -06:00
parent 3e8e374d06
commit 84a3b35989

View File

@@ -371,12 +371,13 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
usr << "<span class='warning'>Another consciousness is in your body...It is resisting you.</span>"
return
if(mind.current.ajourn && mind.current.stat != DEAD) //check if the corpse is astral-journeying (it's client ghosted using a cultist rune).
var/obj/effect/rune/R = locate() in mind.current.loc //whilst corpse is alive, we can only reenter the body if it's on the rune
var/obj/effect/rune/R = mind.current.ajourn //whilst corpse is alive, we can only reenter the body if it's on the rune
if(!(R && R.word1 == cultwords["hell"] && R.word2 == cultwords["travel"] && R.word3 == cultwords["self"])) //astral journeying rune
usr << "<span class='warning'>The astral cord that ties your body and your spirit has been severed. You are likely to wander the realm beyond until your body is finally dead and thus reunited with you.</span>"
return
if(mind && mind.current && mind.current.ajourn)
mind.current.ajourn.ajourn = null
mind.current.ajourn=null
mind.current.ajourn = null
mind.current.key = key
return 1