Skip to content

Commit

Permalink
Make wind not unpredictably break CI due to bad init. (#28149)
Browse files Browse the repository at this point in the history
* Make wind not unpredictably break CI due to bad init.

* Is THIS your card?
  • Loading branch information
FunnyMan3595 authored Jan 27, 2025
1 parent 6eeea2b commit 6f39985
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/modules/atmospherics/environmental/LINDA_turf_tile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f39985

Please sign in to comment.