mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
no messages
This commit is contained in:
@@ -331,7 +331,7 @@ 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")
|
||||
|
||||
if(!check_rights(R_PERMISSIONS))
|
||||
if(holder && !(holder.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>"
|
||||
|
||||
Reference in New Issue
Block a user