Prevents transit turfs from throwing things if it has lattice (#1996)

This commit is contained in:
CitadelStationBot
2017-07-14 05:21:23 -05:00
committed by kevinz000
parent 7c4b887551
commit eb5cce3b8b
+3 -2
View File
@@ -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
. = -90