Change datum.vars warning to use MIN_COMPILER_VERSION (#80515)

We can't change this line of code until we require 515.1620, so it
shouldn't warn.
This commit is contained in:
Mothblocks
2023-12-24 08:26:19 -05:00
committed by GitHub
parent 286536ccdc
commit 0150ed0446
+1 -1
View File
@@ -19,7 +19,7 @@ GLOBAL_REAL(GLOB, /datum/controller/global_vars)
controller_vars["vars"] = null
gvars_datum_in_built_vars = controller_vars + list(NAMEOF(src, gvars_datum_protected_varlist), NAMEOF(src, gvars_datum_in_built_vars), NAMEOF(src, gvars_datum_init_order))
#if DM_VERSION >= 515 && DM_BUILD > 1620
#if MIN_COMPILER_VERSION >= 515 && MIN_COMPILER_BUILD > 1620
#warn datum.vars hanging a ref should now be fixed, there should be no reason to remove the vars list from our controller's vars list anymore
#endif
QDEL_IN(exclude_these, 0) //signal logging isn't ready