Skip to content

Commit

Permalink
Automatic merge of T1.5.1-212-g7decf71b3 and 12 pull requests
Browse files Browse the repository at this point in the history
- Pull request #706 at 91bcfa2: Extended door functionality
- Pull request #722 at fb9079e: Fix Windows Forms deprecations in ActivityEditor
- Pull request #732 at 83002d7: Improvements for air brakes
- Pull request #735 at b9a0ea3: Added new parameter for battery switch
- Pull request #753 at ab8fe32: Extends CabControls for user input
- Pull request #760 at 113dd63: Updated EditorConfig with .NET and StyleCop analyzer configuration
- Pull request #761 at f6a3aca: fix: Allow 100% cloud-free skys by making 0% overcast = 0% clouds
- Pull request #764 at 5f9a01b: fix: Improve sky dome distortion causing bug #1471416
- Pull request #765 at 083467b: Bug fix for https://bugs.launchpad.net/or/+bug/2002183 OK to proceed sound played wrongly
- Pull request #766 at f143fcc: Control Car additional functionality
- Pull request #767 at 9317f8c: Refine sunrise and sunset
- Pull request #768 at a0eae37: OpenRailway Map enhancements
  • Loading branch information
openrails-bot committed Jan 18, 2023
14 parents f44c335 + 7decf71 + 91bcfa2 + fb9079e + 83002d7 + b9a0ea3 + ab8fe32 + 113dd63 + f6a3aca + 5f9a01b + 083467b + f143fcc + 9317f8c + a0eae37 commit d1f67c8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -354,7 +354,7 @@ public void UpdateTripleValveState(float elapsedClockSeconds)
else
TripleValveState = ValveState.Lap;
}
else if (valveType == MSTSWagon.BrakeValveType.TripleValve || valveType == MSTSWagon.BrakeValveType.Distributor)
else if (valveType == MSTSWagon.BrakeValveType.TripleValve || valveType == MSTSWagon.BrakeValveType.DistributingValve)
{
if (BrakeLine1PressurePSI < AuxResPressurePSI - 1 && EmergencyValveActuationRatePSIpS > 0 && (prevBrakePipePressurePSI - BrakeLine1PressurePSI) > Math.Max(elapsedClockSeconds, 0.0001f) * EmergencyValveActuationRatePSIpS)
TripleValveState = ValveState.Emergency;
Expand Down

0 comments on commit d1f67c8

Please sign in to comment.