We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd65d50 + c20b05b commit 29d9219Copy full SHA for 29d9219
1 file changed
scripts/ai/turns/AITurn.lua
@@ -490,7 +490,7 @@ function CombineHeadlandTurn:turn(dt)
490
maxSpeed = self:getReverseSpeed()
491
moveForwards = false
492
gx, gz = self:getGoalPointForTurn(moveForwards, nil)
493
- if dx < 0.2 then
+ if math.abs(dx) < 0.2 then
494
self.state = self.states.REVERSE_ARC
495
self:debug('Combine headland turn start reversing arc')
496
end
0 commit comments