mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
Various TG Chat message sorting fixes (#25229)
* Fixes unsorted emotes, announcements, votes, surgery, prayers, ahelp responses * Apply suggestions from code review Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> --------- Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -27,7 +27,7 @@ GLOBAL_VAR_INIT(nologevent, 0)
|
||||
for(var/client/C in GLOB.admins)
|
||||
if(R_ADMIN & C.holder.rights)
|
||||
if(important || (C.prefs && !(C.prefs.toggles & PREFTOGGLE_CHAT_NO_TICKETLOGS)))
|
||||
to_chat(C, msg, MESSAGE_TYPE_ADMINPM, confidential = TRUE)
|
||||
to_chat(C, msg, MESSAGE_TYPE_ADMINCHAT, confidential = TRUE)
|
||||
if(important)
|
||||
if(C.prefs?.sound & SOUND_ADMINHELP)
|
||||
SEND_SOUND(C, sound('sound/effects/adminhelp.ogg'))
|
||||
|
||||
Reference in New Issue
Block a user