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.
1 parent fd65d50 commit c20b05bCopy full SHA for c20b05b
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