Fixes some admin perms not being properly checked

This commit is contained in:
Heroman
2023-03-09 14:27:19 +10:00
parent 115b8a933b
commit 5ec9f5ea62
4 changed files with 10 additions and 7 deletions
+2
View File
@@ -247,6 +247,8 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new)
//send this msg to all admins
for(var/client/X in GLOB.admins)
if(!check_rights(R_ADMIN, 0, X))
continue
if(X.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
X << 'sound/effects/adminhelp.ogg'
window_flash(X)