Set the SolarSystem's relative path if changed by a mod.

This commit is contained in:
Magnus 2024-08-05 12:14:20 -07:00
parent 1fa4664b34
commit 5fae85f209

View File

@ -695,6 +695,9 @@ namespace NewHorizons
if (SystemDict[starSystemName].Config.GlobalMusic == null && SystemDict[starSystemName].Config.Skybox == null)
SystemDict[starSystemName].Mod = mod;
SystemDict[starSystemName].Config.Merge(starSystemConfig);
// If a mod contains a change to the default system, set the relative path.
// Warning: If multiple systems make changes to the default system, only the relativePath will be set to the last mod loaded.
SystemDict[starSystemName].RelativePath = relativePath;
}
else
{