mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Merge branch 'dev' into stellar-remnants
This commit is contained in:
commit
ea7d6795f6
@ -308,6 +308,9 @@ namespace NewHorizons
|
|||||||
BrambleNodeBuilder.Init(BodyDict[CurrentStarSystem].Select(x => x.Config).Where(x => x.Bramble?.dimension != null).ToArray());
|
BrambleNodeBuilder.Init(BodyDict[CurrentStarSystem].Select(x => x.Config).Where(x => x.Bramble?.dimension != null).ToArray());
|
||||||
StarEvolutionController.Init();
|
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)
|
if (isSolarSystem)
|
||||||
{
|
{
|
||||||
foreach (var supernovaPlanetEffectController in GameObject.FindObjectsOfType<SupernovaPlanetEffectController>())
|
foreach (var supernovaPlanetEffectController in GameObject.FindObjectsOfType<SupernovaPlanetEffectController>())
|
||||||
@ -321,8 +324,6 @@ namespace NewHorizons
|
|||||||
SystemCreationHandler.LoadSystem(SystemDict[CurrentStarSystem]);
|
SystemCreationHandler.LoadSystem(SystemDict[CurrentStarSystem]);
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadTranslations(ModHelper.Manifest.ModFolderPath + "Assets/", this);
|
|
||||||
|
|
||||||
StarChartHandler.Init(SystemDict.Values.ToArray());
|
StarChartHandler.Init(SystemDict.Values.ToArray());
|
||||||
|
|
||||||
if (isSolarSystem)
|
if (isSolarSystem)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user