mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 19:43:16 +00:00
Fix adminhelp sound toggle respect
This bwoink was missing a test on that pref. The other places in this file do check, just not this one. Upstream fix for https://github.com/VOREStation/VOREStation/issues/4454
This commit is contained in:
@@ -323,7 +323,8 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
|
||||
return
|
||||
|
||||
if(initiator)
|
||||
initiator << 'sound/effects/adminhelp.ogg'
|
||||
if(initiator.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
|
||||
initiator << '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>")
|
||||
|
||||
Reference in New Issue
Block a user