From bc8aac8aa10e55845f0d4cb77be16ad797c4ccc6 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Sat, 22 Apr 2023 02:27:58 -0500 Subject: [PATCH] admin announcements now more obviously alert players (#20758) --- code/modules/admin/misc_admin_procs.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/admin/misc_admin_procs.dm b/code/modules/admin/misc_admin_procs.dm index 59943b843f6..8b34ac0d488 100644 --- a/code/modules/admin/misc_admin_procs.dm +++ b/code/modules/admin/misc_admin_procs.dm @@ -423,6 +423,10 @@ GLOBAL_VAR_INIT(nologevent, 0) message = replacetext(message, "\n", "
") // required since we're putting it in a

tag to_chat(world, "[usr.client.holder.fakekey ? "Administrator" : usr.key] Announces:

[message]

") log_admin("Announce: [key_name(usr)] : [message]") + for(var/client/clients_to_alert in GLOB.clients) + window_flash(clients_to_alert) + if(clients_to_alert.prefs?.sound & SOUND_ADMINHELP) + SEND_SOUND(clients_to_alert, sound('sound/effects/adminhelp.ogg')) SSblackbox.record_feedback("tally", "admin_verb", 1, "Announce") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /datum/admins/proc/toggleooc()