Skip to content

Commit

Permalink
Increased braking power again from -5km/s to -10km/s
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan-S committed May 27, 2019
1 parent 4d09ede commit 8c1f5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FS19_AutoDrive/scripts/AutoDriveDriveFuncs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ function AutoDrive:driveToNextWayPoint(vehicle, dt)
if finalSpeed > vehicle.ad.lastUsedSpeed then
finalSpeed = math.min(vehicle.ad.lastUsedSpeed + (dt/1000)*5, finalSpeed);
elseif finalSpeed < vehicle.ad.lastUsedSpeed then
finalSpeed = math.max(vehicle.ad.lastUsedSpeed - (dt/1000)*5, finalSpeed);
finalSpeed = math.max(vehicle.ad.lastUsedSpeed - (dt/1000)*10, finalSpeed);
end;

vehicle.ad.lastUsedSpeed = finalSpeed;
Expand Down

0 comments on commit 8c1f5f7

Please sign in to comment.