[MIRROR] [s] Revert "[s] Removes protected variable exploit" [MDB IGNORE] (#13727)

* [s] Revert "[s] Removes protected variable exploit" (#67095)

Revert "[s] Removes protected variable exploit (#67071)"

This reverts commit f2dfb59ba5.

* [s] Revert "[s] Removes protected variable exploit"

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-05-19 12:54:30 -04:00
committed by GitHub
co-authored by LemonInTheDark
parent e7cea75972
commit e9eae1f6e0
-5
View File
@@ -29,11 +29,6 @@ GLOBAL_REAL(GLOB, /datum/controller/global_vars)
msg = "Edit"
return msg
/datum/controller/global_vars/can_vv_get(var_name)
if(var_name == "gvars_datum_protected_varlist" || var_name == "gvars_datum_in_built_vars")
return FALSE
return ..()
/datum/controller/global_vars/vv_edit_var(var_name, var_value)
if(gvars_datum_protected_varlist[var_name])
return FALSE