diff --git a/NewHorizons/Main.cs b/NewHorizons/Main.cs index 14e67eb0..4217f0ee 100644 --- a/NewHorizons/Main.cs +++ b/NewHorizons/Main.cs @@ -909,8 +909,15 @@ namespace NewHorizons { if (!SystemDict.ContainsKey(config.starSystem)) { - NHLogger.LogError($"System config for {config.starSystem} does not exist?"); - return null; + var starSystemConfig = new StarSystemConfig() { name = config.starSystem }; + starSystemConfig.Migrate(); + starSystemConfig.FixCoordinates(); + + var system = new NewHorizonsSystem(config.starSystem, starSystemConfig, $"", mod); + + SystemDict.Add(config.starSystem, system); + + BodyDict.Add(config.starSystem, new List()); } // Has to happen after we make sure theres a system config