From fbdf24ddd4b6a8046480de0766f7098180cb62ba Mon Sep 17 00:00:00 2001 From: AnturK Date: Thu, 28 Dec 2017 21:59:22 +0100 Subject: [PATCH] Fixes wall CanPass (#33880) --- code/game/turfs/closed.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/game/turfs/closed.dm b/code/game/turfs/closed.dm index 1dc749dc70..4d6727f5bc 100644 --- a/code/game/turfs/closed.dm +++ b/code/game/turfs/closed.dm @@ -18,8 +18,7 @@ /turf/closed/CanPass(atom/movable/mover, turf/target) if(istype(mover) && (mover.pass_flags & PASSCLOSEDTURF)) return TRUE - else - ..() + return ..() /turf/closed/indestructible name = "wall" @@ -165,4 +164,4 @@ name = "wall" desc = "A wall made out of a strange metal. The squares on it pulse in a predictable pattern." icon = 'icons/turf/walls/hierophant_wall.dmi' - icon_state = "wall" + icon_state = "wall" \ No newline at end of file