Skip to content

Commit d4a965a

Browse files
authored
Merge pull request #450 from Csantucci/Add-missing-variable-in-locoCopy
Bug fix for https://bugs.launchpad.net/or/+bug/1939995 DynamicBrakeAvailable not copied to further loco instances
2 parents 65e0f95 + caf1dd9 commit d4a965a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ public override void Copy(MSTSWagon copy)
10341034

10351035
DynamicBrakeBlended = locoCopy.DynamicBrakeBlended;
10361036
DynamicBrakeBlendingEnabled = locoCopy.DynamicBrakeBlendingEnabled;
1037+
DynamicBrakeAvailable = locoCopy.DynamicBrakeAvailable;
10371038
airPipeSystem = locoCopy.airPipeSystem;
10381039
DynamicBrakeCommandStartTime = locoCopy.DynamicBrakeCommandStartTime;
10391040
DynamicBrakeBlendingOverride = locoCopy.DynamicBrakeBlendingOverride;

0 commit comments

Comments
 (0)