mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Grants VIEW variables to +VIEWRUNTIMES (#17996)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user