From acc6fa1dba8cc8efc9eb4f37b3bee29480ae6725 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Thu, 2 Jul 2026 15:18:11 -0700 Subject: [PATCH] [MIRROR] Aghost Logging (#12839) Co-authored-by: Casey Co-authored-by: Cameron Lennox --- code/modules/admin/admin_verbs.dm | 1 + code/modules/mob/dead/observer/observer.dm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index f11ada6ceb..98858e0764 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -57,6 +57,7 @@ ADMIN_VERB(admin_ghost, R_HOLDER, "Aghost", "Ghost out of your body with the opt to_chat(user, span_filter_system(span_warning("Error: Aghost: Can't admin-ghost whilst in the lobby. Join or Observe first."))) else //ghostize + log_and_message_admins("has aghosted.", user) //CHOMPEdit - Keep messaging admins var/mob/body = mob var/mob/observer/dead/ghost if(build_mode) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 24c332b7e8..5ae0e17c3f 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -277,6 +277,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp if(!found_rune) to_chat(src, span_warning("The astral cord that ties your body and your spirit has been severed. You are likely to wander the realm beyond until your body is finally dead and thus reunited with you.")) return + if(admin_ghosted) + log_and_message_admins("re-entered their body.", src) //CHOMPEdit - Keep messaging admins mind.current.ajourn=0 mind.current.key = key mind.current.teleop = null @@ -288,8 +290,6 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp B.update(1) if(!admin_ghosted) announce_ghost_joinleave(mind, 0, "They now occupy their body again.") - if(admin_ghosted) - log_and_message_admins("Admin [key_name(src)] re-entered their body.") return 1 /mob/observer/dead/verb/toggle_medHUD()