From 4a481bb1782615f1b3f0cc31e33be534ae68801b Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 24 Dec 2023 19:57:28 +0100 Subject: [PATCH] [MIRROR] Change datum.vars warning to use MIN_COMPILER_VERSION [MDB IGNORE] (#25818) * 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. * Change datum.vars warning to use MIN_COMPILER_VERSION --------- Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> --- code/controllers/globals.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/globals.dm b/code/controllers/globals.dm index 365fdab921dbf..a3520ab1ee374 100644 --- a/code/controllers/globals.dm +++ b/code/controllers/globals.dm @@ -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