Skip to content

Commit

Permalink
Don't orphan wind. (ParadiseSS13#28050)
Browse files Browse the repository at this point in the history
  • Loading branch information
FunnyMan3595 authored Jan 21, 2025
1 parent 54e5102 commit b89794e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/turfs/simulated.dm
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@
if(TURF_WET_PERMAFROST) // Permafrost
M.slip("the frosted floor", 10 SECONDS, tilesSlipped = 1, walkSafely = 0, slipAny = 1)

/turf/simulated/BeforeChange()
QDEL_NULL(wind_effect)
return ..()

/turf/simulated/ChangeTurf(path, defer_change = FALSE, keep_icon = TRUE, ignore_air = FALSE, copy_existing_baseturf = TRUE)
. = ..()
QUEUE_SMOOTH_NEIGHBORS(src)
Expand Down

0 comments on commit b89794e

Please sign in to comment.