File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Source/Orts.Simulation/Simulation/RollingStocks Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2047,7 +2047,6 @@ public override void Update(float elapsedClockSeconds)
2047
2047
2048
2048
TrainControlSystem . Update ( elapsedClockSeconds ) ;
2049
2049
2050
- LocomotivePowerSupply ? . Update ( elapsedClockSeconds ) ;
2051
2050
UpdateControllers ( elapsedClockSeconds ) ;
2052
2051
2053
2052
// Train Heading - only check the lead locomotive otherwise flipped locomotives further in consist will overwrite the train direction
@@ -2204,6 +2203,9 @@ public override void Update(float elapsedClockSeconds)
2204
2203
2205
2204
//Force to display
2206
2205
FilteredMotiveForceN = CurrentFilter . Filter ( MotiveForceN , elapsedClockSeconds ) ;
2206
+
2207
+ // Only update power supply for player driven locomotives
2208
+ LocomotivePowerSupply ? . Update ( elapsedClockSeconds ) ;
2207
2209
break ;
2208
2210
default :
2209
2211
break ;
You can’t perform that action at this time.
0 commit comments