File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Source/Orts.Simulation/Simulation/RollingStocks Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -2350,7 +2350,7 @@ protected virtual void UpdateCompressor(float elapsedClockSeconds)
2350
2350
// Turn compressor on and off
2351
2351
if ( MainResPressurePSI < CompressorRestartPressurePSI && LocomotivePowerSupply . AuxiliaryPowerSupplyState == PowerSupplyState . PowerOn && ! CompressorIsOn )
2352
2352
SignalEvent ( Event . CompressorOn ) ;
2353
- else if ( ( MainResPressurePSI > MaxMainResPressurePSI || LocomotivePowerSupply . AuxiliaryPowerSupplyState != PowerSupplyState . PowerOn ) && CompressorIsOn )
2353
+ else if ( ( MainResPressurePSI >= MaxMainResPressurePSI || LocomotivePowerSupply . AuxiliaryPowerSupplyState != PowerSupplyState . PowerOn ) && CompressorIsOn )
2354
2354
SignalEvent ( Event . CompressorOff ) ;
2355
2355
2356
2356
if ( CompressorIsOn )
You can’t perform that action at this time.
0 commit comments