mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Set the SolarSystem's relative path if changed by a mod.
This commit is contained in:
parent
1fa4664b34
commit
5fae85f209
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user