[s] Fix a class of secret variable dumping via SDQL by stopping vars from being accessed by can_vv_get() (#90665)

This commit is contained in:
Jordan Dominion
2025-04-18 09:55:21 +02:00
committed by GitHub
parent 0356f63208
commit d96afec583
+2
View File
@@ -2,6 +2,8 @@
return TRUE
/datum/proc/can_vv_get(var_name)
if(var_name == NAMEOF(src, vars))
return FALSE
return TRUE
/// Called when a var is edited with the new value to change to