Fixes ghost ghosting bug (#7010)

This commit is contained in:
Verkister
2023-09-20 18:01:11 +02:00
committed by GitHub
parent e71485cb63
commit e765f020ad
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
client.screen = list()
if(mind && mind.current == src)
spellremove(src)
ghostize()
if(!istype(src,/mob/observer)) //CHOMPEdit
ghostize() //CHOMPEdit
QDEL_NULL(plane_holder)
..()
return QDEL_HINT_HARDDEL_NOW
@@ -5,7 +5,8 @@
/mob/observer/Destroy()
if(body_backup)
qdel(body_backup)
..()
body_backup = null
return ..()
// Persistence vars not included as we probably don't want losing limbs in the game mean losing limbs in real life. Definitely can't backfire.
/mob/observer/dead/verb/fake_enter_vr()