[MIRROR] [MAJOR CHANGE] Admin rank datum (#10316)

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-11 14:36:14 -07:00
committed by GitHub
parent 86d5086018
commit a57d38624d
89 changed files with 1997 additions and 775 deletions

View File

@@ -701,7 +701,7 @@ GLOBAL_DATUM_INIT(tickets, /datum/tickets, new)
. = list("total" = list(), "noflags" = list(), "afk" = list(), "stealth" = list(), "present" = list())
for(var/client/X in GLOB.admins)
.["total"] += X
if(requiredflags != 0 && !check_rights(rights_required = requiredflags, show_msg = FALSE, C = X))
if(requiredflags != 0 && !check_rights(X, requiredflags))
.["noflags"] += X
else if(X.is_afk())
.["afk"] += X