Grants VIEW variables to +VIEWRUNTIMES (#17996)

This commit is contained in:
AffectedArc07
2022-06-21 18:51:04 +01:00
committed by GitHub
parent 72c2dc06a8
commit c445b4d396
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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, "<span class='warning'>You need to be an administrator to access this.</span>")
return
+1
View File
@@ -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