Next round of shuttle fixes at the cost of a small piece of my sanity (#31784)

* shuttle bugs begone

* cleanup
This commit is contained in:
Emmett Gaines
2017-10-17 13:00:10 -04:00
committed by CitadelStationBot
parent 9691c9130f
commit 8a336215f1
4 changed files with 29 additions and 10 deletions
+1 -1
View File
@@ -127,7 +127,7 @@
checkLandingSpot()
/obj/machinery/computer/camera_advanced/shuttle_docker/proc/checkLandingTurf(turf/T)
return T && (!blacklisted_turfs || !blacklisted_turfs[T]) && (!space_turfs_only || isspaceturf(T))
return T && (!blacklisted_turfs || !blacklisted_turfs[T]) && (!space_turfs_only || isspaceturf(T)) && (T.x > 1 && T.y > 1 && T.x < world.maxx && T.y < world.maxy)
/obj/machinery/computer/camera_advanced/shuttle_docker/proc/generateBlacklistedTurfs()
blacklisted_turfs = list()