From 01fd7a9dd9085e8bd1faa685bfb33ca3b5e0a8e7 Mon Sep 17 00:00:00 2001 From: ikarrus Date: Fri, 15 Aug 2014 20:10:45 -0600 Subject: [PATCH] Mobs will block false walls from closing I observed a round where a player cheesed the AI Chamber during Malfunction by closing false walls on himself and using that as a shield against electrodes, lasers, and the cleaner fluid. This is to prevent that. --- code/game/objects/structures/false_walls.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm index 171e430bdbb..46730d0332f 100644 --- a/code/game/objects/structures/false_walls.dm +++ b/code/game/objects/structures/false_walls.dm @@ -59,6 +59,10 @@ SetOpacity(0) update_icon(0) else + var/srcturf = get_turf(src) + for(var/mob/living/obstacle in srcturf) //Stop people from using this as a shield + opening = 0 + return do_the_flick() density = 1 sleep(4)