mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Fixes cameramob ghostize runtime (#52197)
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user