Skip to content

Commit 284e804

Browse files
committed
Fix null value for equipment
1 parent 266e9ca commit 284e804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/MSTSWagon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public enum WindowState
236236
public float BearingHotBoxSmokeDurationS;
237237
public float BearingHotBoxSmokeVelocityMpS = 15.0f;
238238
public Color BearingHotBoxSmokeSteadyColor = Color.Gray;
239-
List<string> BrakeEquipment;
239+
List<string> BrakeEquipment = new List<string>();
240240

241241
/// <summary>
242242
/// Indicates whether a non auto (straight) brake is present or not when braking is selected.

0 commit comments

Comments
 (0)