From 81576835f2ac0c7bc8d65987568bee879bb703fc Mon Sep 17 00:00:00 2001 From: Miniature Date: Sat, 7 Jan 2012 04:22:36 +1030 Subject: [PATCH] Floorbots will no longer build floors over where shuttles are meant to arrive Probably a few other things it does this for (like if there are any shuttles that aren't /area/shuttle) --- code/game/machinery/bots/floorbot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/bots/floorbot.dm b/code/game/machinery/bots/floorbot.dm index 37d8c28d0cd..289ce058ccb 100644 --- a/code/game/machinery/bots/floorbot.dm +++ b/code/game/machinery/bots/floorbot.dm @@ -204,7 +204,7 @@ src.target = T if(!src.target || src.target == null) for (var/turf/space/D in view(7,src)) - if(!(D in floorbottargets) && D != src.oldtarget && (D.loc.name != "Space")) + if(!(D in floorbottargets) && D != src.oldtarget && (D.loc.name != "Space") && !istype(D.loc, /area/shuttle)) src.oldtarget = D src.target = D break