Revert "Revert "/tg/ preference datums part 1: take two""

This commit is contained in:
ShadowLarkens
2024-09-07 23:58:49 -07:00
committed by GitHub
parent c45b3eb4bc
commit e9ee57df18
188 changed files with 5129 additions and 2311 deletions
+1 -1
View File
@@ -165,7 +165,7 @@
to_chat(src, "<span class='pm notice'>PM to-<b>Admins</b>: [msg]</span>")
//play the recieving admin the adminhelp sound (if they have them enabled)
if(recipient.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
if(recipient.prefs?.read_preference(/datum/preference/toggle/holder/play_adminhelp_ping))
recipient << 'sound/effects/adminhelp.ogg'
else