- It is now forbidden by code for admins to edit an object of type /obj/admins, which gives them their admin power.

- It is also forbidden by code for admins to edit the variables of feedback datum types and the blackbox for consistent data gathering.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3135 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz@gmail.com
2012-02-17 02:30:54 +00:00
parent b80e5db0cb
commit 859ab89a96

View File

@@ -267,6 +267,17 @@
src << "Only administrators may use this command."
return
var/list/forbidden_object_types = list(
/obj/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
)
for(var/p in forbidden_object_types)
if( istype(O,p) )
usr << "\red It is forbidden to edit this object's variables."
return
var/class
var/variable
var/var_value