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)
23502350 // Turn compressor on and off
23512351 if ( MainResPressurePSI < CompressorRestartPressurePSI && LocomotivePowerSupply . AuxiliaryPowerSupplyState == PowerSupplyState . PowerOn && ! CompressorIsOn )
23522352 SignalEvent ( Event . CompressorOn ) ;
2353- else if ( ( MainResPressurePSI > MaxMainResPressurePSI || LocomotivePowerSupply . AuxiliaryPowerSupplyState != PowerSupplyState . PowerOn ) && CompressorIsOn )
2353+ else if ( ( MainResPressurePSI >= MaxMainResPressurePSI || LocomotivePowerSupply . AuxiliaryPowerSupplyState != PowerSupplyState . PowerOn ) && CompressorIsOn )
23542354 SignalEvent ( Event . CompressorOff ) ;
23552355
23562356 if ( CompressorIsOn )
You can’t perform that action at this time.
0 commit comments