Skip to content

Commit eb7efa3

Browse files
committed
Fix for https://bugs.launchpad.net/or/+bug/2024295 Freight weight only added for first wagon
1 parent baefb6b commit eb7efa3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/FreightAnimations.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,7 @@ public FreightAnimations(FreightAnimations copyFACollection, MSTSWagon wagon)
290290
ContinuousFreightAnimationsPresent = copyFACollection.ContinuousFreightAnimationsPresent;
291291
StaticFreightAnimationsPresent = copyFACollection.StaticFreightAnimationsPresent;
292292
DiscreteFreightAnimationsPresent = copyFACollection.DiscreteFreightAnimationsPresent;
293-
294-
// Load(Wagon, LoadDataList);
293+
StaticFreightWeight = copyFACollection.StaticFreightWeight;
295294
}
296295

297296
public void Load(string loadFilePath, LoadPosition loadPosition, LoadState loadState)

0 commit comments

Comments
 (0)