Fix for admin-ghosting. Admins couldn't re-enter body after using set-observe.

Cause: I forgot to set the ghost's can_reenter_corpse to 1 after I changed something.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4344 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-08-09 01:36:19 +00:00
parent b24952d72a
commit 6b56ef27ac
3 changed files with 2 additions and 204 deletions
+2 -1
View File
@@ -452,7 +452,7 @@
holder.state = 2
update_admins(rank)
if(!istype(mob, /mob/dead/observer))
mob.adminghostize()
mob.ghostize(1)
src << "\blue You are now observing"
feedback_add_details("admin_verb","O") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -471,6 +471,7 @@
update_admins(rank)
if(istype(mob, /mob/dead/observer))
var/mob/dead/observer/ghost = mob
ghost.can_reenter_corpse = 1 //just in-case.
ghost.reenter_corpse()
deadchat = 0
src << "\blue You are now playing"