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 fa510b0 commit 037dbdfCopy full SHA for 037dbdf
Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS/VacuumSinglePipe.cs
@@ -581,7 +581,10 @@ public override void Update(float elapsedClockSeconds)
581
Car.BrakeShoeForceN = Car.MaxHandbrakeForceN * HandbrakePercent / 100;
582
}
583
584
- else Car.BrakeShoeForceN = Math.Max(Car.MaxBrakeForceN, Car.MaxHandbrakeForceN / 2);
+ else
585
+ {
586
+ Car.BrakeShoeForceN = Math.Max(Car.MaxBrakeForceN, Car.MaxHandbrakeForceN / 2);
587
+ }
588
589
float brakeShoeFriction = Car.GetBrakeShoeFrictionFactor();
590
Car.HuDBrakeShoeFriction = Car.GetBrakeShoeFrictionCoefficientHuD();
0 commit comments