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)
This commit is contained in:
Miniature
2012-01-07 04:22:36 +10:30
parent 090a5c75d1
commit 81576835f2
+1 -1
View File
@@ -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