From f23ca607e51efc590b2fe76b92de41c565e9a9f6 Mon Sep 17 00:00:00 2001 From: SatinIsle <98125273+SatinIsle@users.noreply.github.com> Date: Mon, 11 Aug 2025 11:20:02 +0100 Subject: [PATCH] Minor logging addition to ghosts (#18204) Added admin logging to ghosts for when they make their sprite invisible, so that they can be tracked if needs be. Co-authored-by: ShadowLarkens --- code/modules/mob/dead/observer/observer.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 96c4b2240a..e16097ed17 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -935,6 +935,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp ghost_sprite = GLOB.possible_ghost_sprites[choice] + if(ghost_sprite == "blank") + log_and_message_admins("[key_name(src)] has set their ghost sprite to invisible.", src) + if(!finalized || finalized == "No") icon_state = previous_state