Skip to content

Commit

Permalink
[MIRROR] Change datum.vars warning to use MIN_COMPILER_VERSION (Skyra…
Browse files Browse the repository at this point in the history
…t-SS13#45)

Original PR: tgstation/tgstation#80515
--------------------
We can't change this line of code until we require 515.1620, so it
shouldn't warn.
  • Loading branch information
vinylspiders authored Dec 24, 2023
2 parents 2d97782 + 2c061a0 commit 700c5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/controllers/globals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 700c5f5

Please sign in to comment.