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
+3
View File
@@ -33,6 +33,9 @@ var/list/admin_datums = list()
rights = initial_rights
admin_datums[ckey] = src
if (rights & R_DEBUG)
world.SetConfig("APP/admin", ckey, "role=admin")
/datum/admins/proc/associate(client/C)
if(istype(C))
owner = C