From 6f39985378c1f1ca161c0cdcca6d2a342c44fc33 Mon Sep 17 00:00:00 2001 From: Charlie Nolan Date: Sun, 26 Jan 2025 22:12:45 -0800 Subject: [PATCH] Make wind not unpredictably break CI due to bad init. (#28149) * Make wind not unpredictably break CI due to bad init. * Is THIS your card? --- .../modules/atmospherics/environmental/LINDA_turf_tile.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/atmospherics/environmental/LINDA_turf_tile.dm b/code/modules/atmospherics/environmental/LINDA_turf_tile.dm index a6d3b1aafe57..636bf12a99e3 100644 --- a/code/modules/atmospherics/environmental/LINDA_turf_tile.dm +++ b/code/modules/atmospherics/environmental/LINDA_turf_tile.dm @@ -240,6 +240,14 @@ layer = MASSIVE_OBJ_LAYER blend_mode = BLEND_OVERLAY + // See comment on attempt_init. + initialized = TRUE + +// Wind has nothing it needs to initialize, and it's not surprising if it gets both created and qdeleted during an init freeze. Prevent that from causing an init sanity error. +/obj/effect/wind/attempt_init(...) + initialized = TRUE + return + #undef INDEX_NORTH #undef INDEX_EAST #undef INDEX_SOUTH