Switch to using GLOB.admins instead of admins

This commit is contained in:
Aronai Sieyes
2020-05-12 11:16:54 -04:00
parent 4ff57116b4
commit d4cfdcfb3a
21 changed files with 47 additions and 45 deletions
+3 -3
View File
@@ -130,7 +130,7 @@
//Admin Authorisation
holder = admin_datums[ckey]
if(holder)
admins += src
GLOB.admins += src
holder.owner = src
//preferences datum - also holds some persistant data for the client (because we may as well keep these datums to a minimum)
@@ -191,7 +191,7 @@
log_and_message_admins("PARANOIA: [key_name(src)] has a very new BYOND account ([account_age] days).")
alert = TRUE
if(alert)
for(var/client/X in admins)
for(var/client/X in GLOB.admins)
if(X.is_preference_enabled(/datum/client_preference/holder/play_adminhelp_ping))
X << 'sound/voice/bcriminal.ogg'
window_flash(X)
@@ -203,7 +203,7 @@
/client/Del()
if(holder)
holder.owner = null
admins -= src
GLOB.admins -= src
GLOB.ahelp_tickets.ClientLogout(src)
GLOB.directory -= ckey
GLOB.clients -= src