mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Prevent admins from setting the "bounds" var (#42534)
This commit is contained in:
committed by
yogstation13-bot
parent
b796bbf680
commit
0437e816a8
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user