[MIRROR] Make server announcement OOC [NO GBP] [MDB IGNORE] (#25975)

* Make server announcement OOC [NO GBP] (#80741)

## About The Pull Request

Makes the server admin announcement use tgchat's OOC colors and stops
using announcement.ogg, so players don't mistake it for a Centcom
announcement.

![image](https://github.com/tgstation/tgstation/assets/83487515/32b965a3-58df-45d5-9238-fdb954c8448e)

![image](https://github.com/tgstation/tgstation/assets/83487515/3174d8c9-4194-4a96-844b-d92a6723dce2)

## Why It's Good For The Game

Melbert was right.

## Changelog

🆑 LT3
fix: OOC announcements will now be in shown in OOC colors
/🆑

* Make server announcement OOC [NO GBP]

---------

Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-01-04 17:58:56 +01:00
committed by GitHub
parent c49d7bff9f
commit 4d019655c1
5 changed files with 50 additions and 9 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
if(message)
if(!check_rights(R_SERVER,0))
message = adminscrub(message,500)
send_formatted_announcement(message, "From [usr.client.holder.fakekey ? "Administrator" : usr.key]")
send_ooc_announcement(message, "From [usr.client.holder.fakekey ? "Administrator" : usr.key]")
log_admin("Announce: [key_name(usr)] : [message]")
BLACKBOX_LOG_ADMIN_VERB("Announce")