Update system relative path only when doing extras stuff (#928)

This commit is contained in:
xen-42 2024-08-05 15:19:10 -04:00 committed by GitHub
commit 6deb1aa58a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -696,6 +696,8 @@ namespace NewHorizons
{
if (SystemDict[starSystemName].Config.GlobalMusic == null && SystemDict[starSystemName].Config.Skybox == null)
SystemDict[starSystemName].Mod = mod;
if (SystemDict[starSystemName].Config.extras == null)
SystemDict[starSystemName].RelativePath = relativePath;
SystemDict[starSystemName].Config.Merge(starSystemConfig);
}
else