From ab257c1c1bf3fcdff3535301800dd62b8e8fd62c Mon Sep 17 00:00:00 2001 From: SECBATON GRIFFON <87321915+SECBATON-GRIFFON@users.noreply.github.com> Date: Wed, 1 Jan 2025 02:53:50 +0000 Subject: [PATCH] was doing it wrong, fixed now --- code/game/objects/effects/effect_system.dm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/code/game/objects/effects/effect_system.dm b/code/game/objects/effects/effect_system.dm index a3d0335d377e..f3ba8453ef8f 100644 --- a/code/game/objects/effects/effect_system.dm +++ b/code/game/objects/effects/effect_system.dm @@ -752,12 +752,15 @@ steam.start() -- spawns the effect if(metal) var/turf/T = get_turf(src) - if(istype(T, /turf/space) || istype(T, /turf/simulated/open)) - T.ChangeTurf(/turf/simulated/floor/foamedmetal) - if(metal == 2) - var/obj/structure/foamedmetal/M = new(src.loc) - M.metal = metal - M.updateicon() + if(metal > 2) + T.ChangeTurf(/turf/simulated/floor/mineral/reticulite) + else + if(istype(T, /turf/space) || istype(T, /turf/simulated/open)) + T.ChangeTurf(/turf/simulated/floor/foamedmetal) + if(metal == 2) + var/obj/structure/foamedmetal/M = new(src.loc) + M.metal = metal + M.updateicon() flick("[icon_state]-disolve", src) sleep(5) @@ -878,9 +881,6 @@ steam.start() -- spawns the effect /datum/effect/system/foam_spread/start() spawn(0) - if(metal > 2) - location.ChangeTurf(/turf/simulated/floor/mineral/reticulite) - return var/obj/effect/foam/F = locate() in location if(F) F.amount += amount