Skip to content

Commit fd5a2e2

Browse files
committed
Correct selection logic
1 parent 5e9d9c9 commit fd5a2e2

File tree

1 file changed

+1
-1
lines changed
  • Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS/AirSinglePipe.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ public override void Update(float elapsedClockSeconds)
503503
if (Car.WheelBrakeSlideProtectionFitted)
504504
{
505505
// WSP dump valve active
506-
if ((Car.BrakeSkidWarning || Car.BrakeSkid) && ( !Car.WheelBrakeSlideProtectionEmergencyDisabled && BrakeLine1PressurePSI > 36.25) && Car.WheelBrakeSlideProtectionTimerS != 0 && !Car.WheelBrakeSlideProtectionDumpValveLockout)
506+
if ((Car.BrakeSkidWarning || Car.BrakeSkid) && !Car.WheelBrakeSlideProtectionDumpValveLockout && ( (!Car.WheelBrakeSlideProtectionEmergencyDisabled && BrakeLine1PressurePSI > 36.25) || Car.WheelBrakeSlideProtectionEmergencyDisabled) )
507507
{
508508
Car.WheelBrakeSlideProtectionActive = true;
509509
AutoCylPressurePSI -= elapsedClockSeconds * MaxReleaseRatePSIpS;

0 commit comments

Comments
 (0)