Prevents transit turfs from throwing things if it has lattice (#1996)
This commit is contained in:
committed by
kevinz000
parent
7c4b887551
commit
eb5cce3b8b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user