From a68ec618021d6c5b1b416d614111aafd1d7b122b Mon Sep 17 00:00:00 2001 From: Paxilmaniac Date: Sat, 21 Dec 2024 10:35:18 -0600 Subject: [PATCH] how does that happen ?? --- code/game/turfs/open/water.dm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/game/turfs/open/water.dm b/code/game/turfs/open/water.dm index 0a02dc880ae26..33f128a9d93ce 100644 --- a/code/game/turfs/open/water.dm +++ b/code/game/turfs/open/water.dm @@ -110,7 +110,7 @@ immerse_overlay_alpha = 190 fishing_datum = /datum/fish_source/hot_spring /// Holder for the steam particles - var/obj/effect/abstract/particle_holder/cached/steam_effect + var/obj/effect/abstract/particle_holder/cached/particle_effect /turf/open/water/hot_spring/Initialize(mapload) . = ..() @@ -121,18 +121,18 @@ AddElement(/datum/element/immerse, icon, icon_state, "immerse", immerse_overlay_color, alpha = immerse_overlay_alpha) immerse_added = TRUE icon_state = "pool_[rand(1, 4)]" - steam_effect = new(src, /particles/hotspring_steam, 4) + particle_effect = new(src, /particles/hotspring_steam, 4) //render the steam over mobs and objects on the game plane - steam_effect.vis_flags &= ~VIS_INHERIT_PLANE + particle_effect.vis_flags &= ~VIS_INHERIT_PLANE //And be unaffected by ambient occlusions, which would render the steam grey - steam_effect.plane = MUTATE_PLANE(MASSIVE_OBJ_PLANE, src) + particle_effect.plane = MUTATE_PLANE(MASSIVE_OBJ_PLANE, src) add_filter("hot_spring_waves", 1, wave_filter(y = 1, size = 1, offset = 0, flags = WAVE_BOUNDED)) var/filter = get_filter("hot_spring_waves") animate(filter, offset = 1, time = 3 SECONDS, loop = -1, easing = SINE_EASING|EASE_IN|EASE_OUT) animate(offset = 0, time = 3 SECONDS, easing = SINE_EASING|EASE_IN|EASE_OUT) /turf/open/water/hot_spring/Destroy() - QDEL_NULL(steam_effect) + QDEL_NULL(particle_effect) remove_filter("hot_spring_waves") for(var/atom/movable/movable as anything in contents) exit_hot_spring(movable)