diff --git a/code/datums/datumvars.dm b/code/datums/datumvars.dm index bd18bea4945..e30d48ff393 100644 --- a/code/datums/datumvars.dm +++ b/code/datums/datumvars.dm @@ -83,7 +83,7 @@ var/static/cookieoffset = rand(1, 9999) //to force cookies to reset after the round. - if(!is_admin(usr)) + if(!check_rights(R_ADMIN|R_VIEWRUNTIMES)) to_chat(usr, "You need to be an administrator to access this.") return diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 12cb5b3c73e..70959d97e12 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -281,6 +281,7 @@ GLOBAL_LIST_INIT(admin_verbs_maintainer, list( verbs += /client/proc/cmd_display_del_log verbs += /client/proc/cmd_display_del_log_simple verbs += /client/proc/toggledebuglogs + verbs += /client/proc/debug_variables /*allows us to -see- the variables of any instance in the game. +VAREDIT needed to modify*/ spawn(1) // This setting exposes the profiler for people with R_VIEWRUNTIMES. They must still have it set in cfg/admin.txt control_freak = 0