builder starting point

This commit is contained in:
kepler155c
2017-10-22 19:11:06 -04:00
parent e0cac06c2a
commit a2f452dc90
3 changed files with 30 additions and 21 deletions

View File

@@ -88,7 +88,7 @@ local function follow(id)
end
-- check if gps is inaccurate (player moving too fast)
if d < Point.pythagoreanDistance(turtle.point, pt) + 10 then
if d < Point.distance(turtle.point, pt) + 10 then
lastPoint = Point.copy(pt)
following = true
os.queueEvent('turtle_follow', pt)