[MAJOR CHANGE] Admin rank datum (#17133)

* Admin ranks update

* Permissions fix

* One missing thing

* Further rework to make database also fully work

* Adds admin rank bitflag calculator to tools

* ZA WARUDO

---------

Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
Selis
2025-03-06 01:38:19 +01:00
committed by GitHub
co-authored by C.L.
parent caec59322e
commit 7a7ae89713
88 changed files with 1993 additions and 904 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
update_client_z(null)
log_access_out(src)
unset_machine()
if(admin_datums[src.ckey])
if(GLOB.admin_datums[src.ckey])
if (ticker && ticker.current_state == GAME_STATE_PLAYING) //Only report this stuff if we are currently playing.
var/admins_number = GLOB.admins.len
@@ -14,4 +14,4 @@
send2adminirc("[key_name(src)] logged out - no more admins online.")
..()
return 1
return 1