From 3068603350bcd94c1f558fae6e9cfb051ec20585 Mon Sep 17 00:00:00 2001 From: Nerd Lord Date: Wed, 1 Jun 2016 16:29:38 -0400 Subject: [PATCH 1/2] False walls now block air --- code/game/objects/structures/false_walls.dm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm index fb766921ac3..81faf3764ff 100644 --- a/code/game/objects/structures/false_walls.dm +++ b/code/game/objects/structures/false_walls.dm @@ -23,6 +23,18 @@ smooth = SMOOTH_TRUE can_be_unanchored = 0 +/obj/structure/falsewall/New(loc) + ..() + air_update_turf(1) + +/obj/structure/falsewall/Destroy() + density = 0 + air_update_turf(1) + return ..() + +/obj/structure/falsewall/CanAtmosPass(turf/T) + return !density + /obj/structure/falsewall/attack_hand(mob/user) if(opening) return @@ -46,6 +58,7 @@ if(!qdeleted(src)) SetOpacity(1) update_icon() + air_update_turf(1) opening = 0 /obj/structure/falsewall/attack_animal(mob/living/simple_animal/user) From 5d91f7c0eacbf9945ddaa3c97f5f771c3665f640 Mon Sep 17 00:00:00 2001 From: Nerd Lord Date: Wed, 1 Jun 2016 20:17:48 -0400 Subject: [PATCH 2/2] fix! --- code/game/objects/structures/false_walls.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm index 81faf3764ff..6081462ac8d 100644 --- a/code/game/objects/structures/false_walls.dm +++ b/code/game/objects/structures/false_walls.dm @@ -17,7 +17,7 @@ /turf/closed/wall, /turf/closed/wall/r_wall, /obj/structure/falsewall, - /obj/structure/falsewall/reinforced, // WHY DO WE SMOOTH WITH FALSE R-WALLS WHEN WE DON'T SMOOTH WITH REAL R-WALLS. + /obj/structure/falsewall/reinforced, /turf/closed/wall/rust, /turf/closed/wall/r_wall/rust) smooth = SMOOTH_TRUE @@ -81,7 +81,7 @@ if(density) smooth = SMOOTH_TRUE queue_smooth(src) - icon_state = "" + icon_state = "wall" else icon_state = "fwall_open"