Prevent admins from setting the "bounds" var (#42534)

This commit is contained in:
monster860
2019-01-30 02:39:48 -05:00
committed by yogstation13-bot
parent b796bbf680
commit 0437e816a8

View File

@@ -83,7 +83,7 @@
return T.zPassOut(src, direction, destination) && destination.zPassIn(src, direction, T)
/atom/movable/vv_edit_var(var_name, var_value)
var/static/list/banned_edits = list("step_x", "step_y", "step_size")
var/static/list/banned_edits = list("step_x", "step_y", "step_size", "bounds")
var/static/list/careful_edits = list("bound_x", "bound_y", "bound_width", "bound_height")
if(var_name in banned_edits)
return FALSE //PLEASE no.