From 3201f4ba8b4d12f2deae17f1e1f6babeb056efe0 Mon Sep 17 00:00:00 2001 From: The Sharkening <95130227+StrangeWeirdKitten@users.noreply.github.com> Date: Sun, 2 Mar 2025 23:19:26 -0800 Subject: [PATCH] Admins show ckey on LOOC when they're ghosted (#3180) ## About The Pull Request Makes admins who are ghosted show by their ckey when they LOOC instead of their character name. ## Why It's Good For The Game Makes it more clear if an admin is LOOCing to you in game if it's needed ## Proof Of Testing ![image](https://github.com/user-attachments/assets/e2620d04-cf50-449c-8037-ce3d90349018) ## Changelog :cl: admin: ghosted admins who LOOC now show by their ckey /:cl: --- modular_skyrat/modules/verbs/code/looc.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modular_skyrat/modules/verbs/code/looc.dm b/modular_skyrat/modules/verbs/code/looc.dm index 4b2f3ed5d02..e0839cbc07a 100644 --- a/modular_skyrat/modules/verbs/code/looc.dm +++ b/modular_skyrat/modules/verbs/code/looc.dm @@ -92,7 +92,10 @@ if (is_holder) continue //admins are handled afterwards - to_chat(hearing_client, span_looc(span_prefix("LOOC[wall_pierce ? " (WALL PIERCE)" : ""]: [src.mob.name]: [msg]"))) + if(holder && isdead(src.mob)) // Admins ghosted display ckey + to_chat(hearing_client, span_looc(span_prefix("LOOC[wall_pierce ? " (WALL PIERCE)" : ""]: [src.ckey]: [msg]"))) + else + to_chat(hearing_client, span_looc(span_prefix("LOOC[wall_pierce ? " (WALL PIERCE)" : ""]: [src.mob.name]: [msg]"))) for(var/client/cli_client as anything in GLOB.admins) if (admin_seen[cli_client])