File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Source/Orts.Simulation/Simulation/RollingStocks Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1538,14 +1538,20 @@ public override void Initialize()
15381538 if ( EngineBrakeController != null )
15391539 {
15401540 EngineBrakeController . Initialize ( ) ;
1541- if ( ! EngineBrakeController . IsValid ( ) )
1541+ if ( ! EngineBrakeController . IsValid ( ) && ! SteamEngineBrakeFitted )
1542+ {
15421543 EngineBrakeController = null ;
1544+ EngineBrakeFitted = false ;
1545+ }
15431546 }
15441547 if ( BrakemanBrakeController != null )
15451548 {
15461549 BrakemanBrakeController . Initialize ( ) ;
15471550 if ( ! BrakemanBrakeController . IsValid ( ) )
1551+ {
15481552 BrakemanBrakeController = null ;
1553+ BrakemanBrakeFitted = false ;
1554+ }
15491555 }
15501556 LocomotivePowerSupply ? . Initialize ( ) ;
15511557 TrainControlSystem . Initialize ( ) ;
You can’t perform that action at this time.
0 commit comments