Merge branch 'dev' into stellar-remnants

This commit is contained in:
Nick 2022-08-25 23:04:07 -04:00
commit ea7d6795f6

View File

@ -308,6 +308,9 @@ namespace NewHorizons
BrambleNodeBuilder.Init(BodyDict[CurrentStarSystem].Select(x => x.Config).Where(x => x.Bramble?.dimension != null).ToArray());
StarEvolutionController.Init();
// Has to go before loading planets else the Discord Rich Presence mod won't show the right text
LoadTranslations(ModHelper.Manifest.ModFolderPath + "Assets/", this);
if (isSolarSystem)
{
foreach (var supernovaPlanetEffectController in GameObject.FindObjectsOfType<SupernovaPlanetEffectController>())
@ -321,8 +324,6 @@ namespace NewHorizons
SystemCreationHandler.LoadSystem(SystemDict[CurrentStarSystem]);
}
LoadTranslations(ModHelper.Manifest.ModFolderPath + "Assets/", this);
StarChartHandler.Init(SystemDict.Values.ToArray());
if (isSolarSystem)