From b3ee50e9f89f987835fcb8f17107cf6b4f548c48 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Fri, 24 Oct 2025 14:51:16 -0700 Subject: [PATCH] [MIRROR] null keys on observer destroy (#11862) Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> --- code/modules/mob/dead/observer/observer.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 3c4aae131a..ef1544eb9f 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -557,9 +557,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp //ChompEDIT START - deal with weird behavior on qdelled ghosts if(client) //qdelling a ghost with a client = make a new ghost i guess ghostize() - if(key) //qdelling a ghost with a key = remove the key first to prevent logging into the GC queue - key = null //ChompEDIT END + if(key) + key = null return ..() /mob/Moved(atom/old_loc, direction, forced = FALSE)