mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user