Skip to content

Commit

Permalink
Admin shortcut for converting ghosts to humans (tgstation#24157)
Browse files Browse the repository at this point in the history
Used CtrlShiftClick as it's a largely (entirely?) unused combination, meaning it won't interfere with anything, but still act as a shortcut
  • Loading branch information
RemieRichards authored and KorPhaeron committed Feb 17, 2017
1 parent 7fc062e commit 21ae56f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -782,3 +782,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
SSpai.recruitWindow(src)
else
usr << "Can't become a pAI candidate while not dead!"

/mob/dead/observer/CtrlShiftClick(mob/user)
if(isobserver(user) && check_rights(R_SPAWN))
change_mob_type( /mob/living/carbon/human , null, null, TRUE) //always delmob, ghosts shouldn't be left lingering

0 comments on commit 21ae56f

Please sign in to comment.