mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
Locks some really gamebreaking verbs to Maints (#17633)
This commit is contained in:
@@ -543,7 +543,7 @@ GLOBAL_PROTECT(VVmaint_only)
|
||||
if(prompt != "Continue")
|
||||
return FALSE
|
||||
if(param_var_name in GLOB.VVmaint_only)
|
||||
if(!is_maintainer(usr))
|
||||
if(!check_rights(R_MAINTAINER))
|
||||
alert(usr, "Editing this variable is restricted to Maintainers only.", "Error", "Ok")
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user