Skip to content

Commit

Permalink
Merge branch 'alpha-testing' of https://github.com/Stephan-S/FS19_Aut…
Browse files Browse the repository at this point in the history
…oDrive into alpha-testing
  • Loading branch information
Stephan-S committed Jun 1, 2021
2 parents b0f7139 + 6328233 commit d35b7db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion FS19_AutoDrive/scripts/Modules/DrivePathModule.lua
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ function ADDrivePathModule:followWaypoints(dt)
self.speedLimit = math.min(self.speedLimit, self:getSpeedLimitBySteeringAngle() * 1.5)
end

local maxSpeedDiff = ADDrivePathModule.MAX_SPEED_DEVIATION
if self.vehicle.ad.trailerModule:isUnloadingToBunkerSilo() then
-- drive through bunker silo
self.speedLimit = math.min(self.vehicle.ad.trailerModule:getBunkerSiloSpeed(), self.speedLimit)
Expand Down

0 comments on commit d35b7db

Please sign in to comment.