Skip to content

Commit 434af02

Browse files
committed
Make emergency dump valve work also for twin pipe systems
1 parent 908f011 commit 434af02

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
@@ -363,7 +363,7 @@ public void UpdateTripleValveState(float elapsedClockSeconds)
363363
TripleValveState = ValveState.Release;
364364
else if (TripleValveState != ValveState.Emergency && targetPressurePSI > AutoCylPressurePSI + (TripleValveState != ValveState.Apply ? 2.2f : 0f))
365365
TripleValveState = ValveState.Apply;
366-
else
366+
else if (TripleValveState != ValveState.Emergency)
367367
TripleValveState = ValveState.Lap;
368368
}
369369
else if (valveType == MSTSWagon.BrakeValveType.TripleValve || valveType == MSTSWagon.BrakeValveType.DistributingValve)

0 commit comments

Comments
 (0)