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 a116284 commit 9d86129Copy full SHA for 9d86129
Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerSupplies/DieselEngine.cs
@@ -1086,7 +1086,7 @@ public void Update(float elapsedClockSeconds)
1086
State = DieselEngineState.Stopped;
1087
1088
// fuel consumption will occur when engine is running above the starting rpm
1089
- if ((State == DieselEngineState.Stopped) || ((State == DieselEngineState.Stopping) && (RealRPM < StartingRPM)) || ((State == DieselEngineState.Starting) && (RealRPM < StartingRPM)))
+ if (State == DieselEngineState.Stopped || (State == DieselEngineState.Stopping && RealRPM < StartingRPM) || (State == DieselEngineState.Starting && RealRPM < StartingRPM))
1090
{
1091
ExhaustParticles = 0;
1092
DieselFlowLps = 0;
0 commit comments