File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Source/Orts.Simulation/Simulation/RollingStocks Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2658,9 +2658,16 @@ protected virtual void UpdateDynamicBrakeForce(float elapsedClockSeconds)
26582658 {
26592659 DynamicBrakeCommandStartTime = Simulator . ClockTime ;
26602660 }
2661- if ( ! DynamicBrake && DynamicBrakeCommandStartTime + DynamicBrakeDelayS < Simulator . ClockTime )
2661+ if ( ! DynamicBrake )
26622662 {
2663- DynamicBrake = true ;
2663+ if ( DynamicBrakeCommandStartTime + DynamicBrakeDelayS < Simulator . ClockTime )
2664+ {
2665+ DynamicBrake = true ;
2666+ if ( IsLeadLocomotive ( ) && DynamicBrakeController ? . CurrentValue > 0 )
2667+ Simulator . Confirmer . ConfirmWithPerCent ( CabControl . DynamicBrake , DynamicBrakeController . CurrentValue * 100 ) ;
2668+ }
2669+ else if ( IsLeadLocomotive ( ) && DynamicBrakeController ? . CurrentValue > 0 )
2670+ Simulator . Confirmer . Confirm ( CabControl . DynamicBrake , CabSetting . On ) ; // Keeping status string on screen so user knows what's happening
26642671 }
26652672 }
26662673 else if ( DynamicBrakeForceN == 0 || ! LocomotivePowerSupply . DynamicBrakeAvailable || Direction == Direction . N )
You can’t perform that action at this time.
0 commit comments