mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
no no no
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
var/list/forbidden_varedit_object_types = list(
|
||||
/datum/admins, //Admins editing their own admin-power object? Yup, sounds like a good idea.
|
||||
/obj/machinery/blackbox_recorder, //Prevents people messing with feedback gathering
|
||||
/datum/feedback_variable //Prevents people messing with feedback gathering
|
||||
/datum/feedback_variable, //Prevents people messing with feedback gathering
|
||||
/datum/configuration, //prevents people from fucking with logging.
|
||||
)
|
||||
|
||||
/*
|
||||
@@ -330,10 +331,11 @@ var/list/forbidden_varedit_object_types = list(
|
||||
|
||||
var/list/locked = list("vars", "key", "ckey", "client", "firemut", "ishulk", "telekinesis", "xray", "virus", "cuffed", "ka", "last_eaten", "icon", "icon_state", "mutantrace")
|
||||
|
||||
for(var/p in forbidden_varedit_object_types)
|
||||
if( istype(O,p) )
|
||||
usr << "<span class='warning'>It is forbidden to edit this object's variables.</span>"
|
||||
return
|
||||
if(!check_rights(R_PERMISSIONS))
|
||||
for(var/p in forbidden_varedit_object_types)
|
||||
if( istype(O,p) )
|
||||
usr << "<span class='warning'>It is forbidden to edit this object's variables.</span>"
|
||||
return
|
||||
|
||||
var/class
|
||||
var/variable
|
||||
|
||||
Reference in New Issue
Block a user