reworks game preferences (characters v2 staging) (#6310)

Co-authored-by: silicons <no@you.cat>
Co-authored-by: LordME <58342752+TheLordME@users.noreply.github.com>
This commit is contained in:
silicons
2024-04-08 12:44:30 +02:00
committed by GitHub
co-authored by silicons LordME
parent 9f1b911556
commit 39bc14bb4a
427 changed files with 3981 additions and 2842 deletions
+6 -4
View File
@@ -252,8 +252,9 @@ INITIALIZE_IMMEDIATE(/obj/effect/statclick/ticket_list)
//send this msg to all admins
for(var/client/X in GLOB.admins)
if(X.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))
// if(X.get_preference_toggle(/datum/client_preference/holder/play_adminhelp_ping))
// SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))
SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))
window_flash(X)
to_chat(X, chat_msg)
@@ -339,8 +340,9 @@ INITIALIZE_IMMEDIATE(/obj/effect/statclick/ticket_list)
return
if(initiator)
if(initiator.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
SEND_SOUND(initiator, sound('sound/effects/adminhelp.ogg'))
// if(initiator.get_preference_toggle(/datum/client_preference/holder/play_adminhelp_ping))
// SEND_SOUND(initiator, sound('sound/effects/adminhelp.ogg'))
SEND_SOUND(initiator, sound('sound/effects/adminhelp.ogg'))
to_chat(initiator, "<font color='red' size='4'><b>- AdminHelp Rejected! -</b></font>")
to_chat(initiator, "<font color='red'><b>Your admin help was rejected.</b></font>")