From 4551b0080155466eb5d49cc653d5d118933f6018 Mon Sep 17 00:00:00 2001 From: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Date: Mon, 14 Jul 2025 17:52:15 -0500 Subject: [PATCH] Smart metal foam fixes multi-z holes (#92050) ## About The Pull Request Smart metal foam places foam plating on openspace ## Why It's Good For The Game It's supposed to fill the room but it leaves a bunch of holes to fall in ## Changelog :cl: Melbert qol: Smart metal foam fixes multi-z holes /:cl: --- .../objects/effects/effect_system/fluid_spread/effects_foam.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/effects/effect_system/fluid_spread/effects_foam.dm b/code/game/objects/effects/effect_system/fluid_spread/effects_foam.dm index 786672c21d1..44193d93fda 100644 --- a/code/game/objects/effects/effect_system/fluid_spread/effects_foam.dm +++ b/code/game/objects/effects/effect_system/fluid_spread/effects_foam.dm @@ -401,7 +401,7 @@ /obj/effect/particle_effect/fluid/foam/metal/smart/make_result() //Smart foam adheres to area borders for walls var/turf/open/location = loc - if(isspaceturf(location)) + if(isspaceturf(location) || isopenspaceturf(location)) location.place_on_top(/turf/open/floor/plating/foam) for(var/cardinal in GLOB.cardinals)