Gives people with +DEBUG (maintainers & head admins) access to the profiler (#5252)

This commit is contained in:
Erki
2018-09-10 18:09:32 +02:00
committed by Werner
parent 13c8c4d272
commit fa82e7fbf5
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -66,6 +66,10 @@ var/list/admin_ranks = list() //list of all ranks with associated rights
C.holder = null
admins.Cut()
// Clears admins from the world config.
for (var/A in world.GetConfig("admin"))
world.SetConfig("APP/admin", A, null)
if(config.admin_legacy_system)
load_admin_ranks()