From 3f80d538a58ca318282d173627420792b73debc3 Mon Sep 17 00:00:00 2001 From: "elly1989@rocketmail.com" Date: Sat, 8 Sep 2012 05:16:43 +0000 Subject: [PATCH] Falsewalls and FalseRwalls are now anchored. They now become immediately dense when closing rather than having a few second delay, so you can't run through them when they look closed. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4651 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/structures/false_walls.dm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm index 15c58ae9d50..909ce9d0f55 100644 --- a/code/game/objects/structures/false_walls.dm +++ b/code/game/objects/structures/false_walls.dm @@ -1,4 +1,5 @@ /obj/structure/falsewall + anchored = 1 icon = 'icons/turf/walls.dmi' var/mineral = "metal" @@ -73,8 +74,8 @@ else flick("[mineral]fwall_closing", src) icon_state = "[mineral]0" + density = 1 sleep(15) - src.density = 1 SetOpacity(1) src.relativewall() @@ -170,6 +171,8 @@ icon_state = "[mineral]fwall_open" /obj/structure/falserwall/ + anchored = 1 + attack_hand(mob/user as mob) if(density) // Open wall @@ -181,8 +184,8 @@ else icon_state = "r_wall" flick("frwall_closing", src) - sleep(15) density = 1 + sleep(15) SetOpacity(1) relativewall()