diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index aa0a7b30c0d..adf40cc07de 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -277,10 +277,14 @@ Works together with spawning an observer, noted above. ghost.key = key if(!can_reenter_corpse) // Disassociates observer mind from the body mind ghost.mind = null - else - ghost.mind.current?.med_hud_set_status() return ghost +/mob/living/ghostize(can_reenter_corpse = TRUE) + . = ..() + if(. && can_reenter_corpse) + var/mob/dead/observer/ghost = . + ghost.mind.current?.med_hud_set_status() + /* This is the proc mobs get to turn into a ghost. Forked from ghostize due to compatibility issues. */