Merge pull request #2759 from havocx42/master

Fixing MULEbot
This commit is contained in:
Chinsky
2013-05-15 06:37:31 -07:00
+2 -1
View File
@@ -706,7 +706,8 @@
// given an optional turf to avoid
/obj/machinery/bot/mulebot/proc/calc_path(var/turf/avoid = null)
src.path = AStar(src.loc, src.target, /turf/proc/CardinalTurfsWithAccess, /turf/proc/Distance, 0, 250, id=botcard, exclude=avoid)
src.path = reverselist(src.path)
if(!src.path)
src.path = list()
// sets the current destination