mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 08:29:57 +01:00
Reworking Bot API and optimizing for loops in admin code (#6355)
This commit is contained in:
committed by
Werner
parent
5bf33373c9
commit
81e7f29878
@@ -128,7 +128,8 @@ var/global/list/ticket_panels = list()
|
||||
|
||||
if (!admin_found)
|
||||
message_admins("<span class='danger'><b>[owner]'s ticket has yet to be closed!</b></span>")
|
||||
for(var/client/C in admins)
|
||||
for(var/s in staff)
|
||||
var/client/C = s
|
||||
if((C.holder.rights & (R_ADMIN|R_MOD)) && (C.prefs.toggles & SOUND_ADMINHELP))
|
||||
sound_to(C, 'sound/effects/adminhelp.ogg')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user