From 71b3349c2d54d85fdb6c1f6e58aaca3da1f9b7e1 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Mon, 12 Mar 2018 07:30:29 -0500 Subject: [PATCH] [MIRROR] Custom dockers must be greater than 10 tiles from map edge (#5922) * Custom dockers must be greater than 10 tiles from map edge (#36306) * Custom dockers must be greater than 10 tiles from map edge --- code/modules/shuttle/navigation_computer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/shuttle/navigation_computer.dm b/code/modules/shuttle/navigation_computer.dm index 7eeee8f425..29c0de1b27 100644 --- a/code/modules/shuttle/navigation_computer.dm +++ b/code/modules/shuttle/navigation_computer.dm @@ -206,7 +206,7 @@ /obj/machinery/computer/camera_advanced/shuttle_docker/proc/checkLandingTurf(turf/T, list/overlappers) // Too close to the map edge is never allowed - if(!T || T.x == 1 || T.y == 1 || T.x == world.maxx || T.y == world.maxy) + if(!T || T.x <= 10 || T.y <= 10 || T.x >= world.maxx - 10 || T.y >= world.maxy - 10) return SHUTTLE_DOCKER_BLOCKED // If it's one of our shuttle areas assume it's ok to be there if(shuttle_port.shuttle_areas[T.loc])