Skip to content

Commit

Permalink
[MIRROR] Change datum.vars warning to use MIN_COMPILER_VERSION [MDB I…
Browse files Browse the repository at this point in the history
…GNORE] (#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 <[email protected]>
  • Loading branch information
SkyratBot and Mothblocks authored Dec 24, 2023
1 parent 4c843fd commit 4a481bb
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 4a481bb

Please sign in to comment.