Fixes GLOB Edit for global view variables so it does not crash the server instantly - Code by @Willburd

This commit is contained in:
Repede
2024-01-07 20:25:23 -05:00
parent 73f613400d
commit bcb4a9e91c
2 changed files with 240 additions and 239 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ GLOBAL_REAL(GLOB, /datum/controller/global_vars)
if(!statclick)
statclick = new/obj/effect/statclick/debug(null, "Initializing...", src)
stat("GLOB:", "Button Removed Due To Crashing") //VOREStation Edit
stat("GLOB:", statclick.update("Edit"))
/datum/controller/global_vars/vv_edit_var(var_name, var_value)
if(gvars_datum_protected_varlist[var_name])