From eb5cce3b8ba0f57a76d8cd61a351e628e235e949 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Fri, 14 Jul 2017 05:21:23 -0500 Subject: [PATCH] Prevents transit turfs from throwing things if it has lattice (#1996) --- code/game/turfs/space/transit.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/turfs/space/transit.dm b/code/game/turfs/space/transit.dm index c447b83a1f..238b38b9b2 100644 --- a/code/game/turfs/space/transit.dm +++ b/code/game/turfs/space/transit.dm @@ -25,7 +25,8 @@ dir = EAST /turf/open/space/transit/Entered(atom/movable/AM, atom/OldLoc) - throw_atom(AM) + if(!locate(/obj/structure/lattice) in src) + throw_atom(AM) /turf/open/space/transit/proc/throw_atom(atom/movable/AM) if(!AM || istype(AM, /obj/docking_port)) @@ -102,4 +103,4 @@ if(EAST) . = 90 if(WEST) - . = -90 \ No newline at end of file + . = -90