mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[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:
co-authored by
LemonInTheDark
parent
e7cea75972
commit
e9eae1f6e0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user