We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9317f8c commit 4cb5c77Copy full SHA for 4cb5c77
Source/Orts.Formats.Msts/EnvironmentFile.cs
@@ -49,7 +49,7 @@ public EnvironmentFile(string filePath)
49
}
50
51
52
- public SkySatellite Sun => SkySatellites.FirstOrDefault(s => s.Type == SkySatellite.SkySatelliteType.Sun);
+ public SkySatellite Sun => SkySatellites?.FirstOrDefault(s => s.Type == SkySatellite.SkySatelliteType.Sun);
53
54
public class WaterLayer
55
{
0 commit comments