Skip to content

Commit

Permalink
fix: another stupid typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Vaiko committed Dec 14, 2024
1 parent 10ad0fa commit 8233f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ai/turns/TurnManeuver.lua
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function TurnManeuver:applyTightTurnOffsetToAnalyticPath(course)
totalDistance = totalDistance + course:getDistanceToNextWaypoint(i - 1)
if totalDistance >
(g_vehicleConfigurations:getRecursively(self.vehicle, 'tightTurnOffsetDistanceInTurns') or math.huge) then
selff:debug('Total distance %.1f > configured, stop applying tight turn offset', totalDistance)
self:debug('Total distance %.1f > configured, stop applying tight turn offset', totalDistance)
break
end
-- Check for direction change: this is to have offset only at the foot of an omega turn and not
Expand Down

0 comments on commit 8233f93

Please sign in to comment.