From 17a83e88dc97a00218b9fb74f6ca02201cb3e79e Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 2 Apr 2023 23:12:50 +0200 Subject: [PATCH] [MIRROR] Play Internet Sound, Admin CKEY instead of character name [MDB IGNORE] (#20274) * Play Internet Sound, Admin CKEY instead of character name (#74426) ## About The Pull Request This fixes a minor oversight I had on my last PR that altered `PlaySound.dm` Where it shows the admins character name instead of CKEY like it was before I updated it. This wasn't intentional to show the character name instead of CKEY. ## Why It's Good For The Game Fixes a a unintended bug to return the name of the shown admin back to how it was previously as being their CKEY rather than character name
Screenshots/Videos ![dreamseeker_szXvINGPN6](https://user-images.githubusercontent.com/2568378/229268382-8f57d039-50e3-4132-8f56-447ae117beb1.png)
## Changelog :cl: fix: Play Internet Sound will no longer show an admins Character name and returns back to showing CKEY as previously /:cl: * Play Internet Sound, Admin CKEY instead of character name --------- Co-authored-by: SomeRandomOwl <2568378+SomeRandomOwl@users.noreply.github.com> --- code/modules/admin/verbs/playsound.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/playsound.dm b/code/modules/admin/verbs/playsound.dm index 0b0fbaf0f58..13e4e0978d4 100644 --- a/code/modules/admin/verbs/playsound.dm +++ b/code/modules/admin/verbs/playsound.dm @@ -128,9 +128,9 @@ switch(anon) if("Yes") if(res == "Yes") - to_chat(world, span_boldannounce("[user] played: [webpage_url]"), confidential = TRUE) + to_chat(world, span_boldannounce("[user.ckey] played: [webpage_url]"), confidential = TRUE) else - to_chat(world, span_boldannounce("[user] played some music"), confidential = TRUE) + to_chat(world, span_boldannounce("[user.ckey] played some music"), confidential = TRUE) if("No") if(res == "Yes") to_chat(world, span_boldannounce("An admin played: [webpage_url]"), confidential = TRUE)