mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
fix compile error
This commit is contained in:
parent
641084ae45
commit
a5a068d32a
@ -26,7 +26,7 @@ namespace NewHorizons.Patches.ShipLogPatches
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
__instance._astroObjects = navMatrix;
|
__instance._astroObjects = navMatrix;
|
||||||
__instance._startingAstroObjectID = Main.SystemDict[Main.Instance.CurrentStarSystem].shipLogStartingPlanetID ?? navMatrix[1][0].GetID();
|
__instance._startingAstroObjectID = Main.SystemDict[Main.Instance.CurrentStarSystem].Config.shipLogStartingPlanetID ?? navMatrix[1][0].GetID();
|
||||||
if (Main.Instance.CurrentStarSystem != "SolarSystem")
|
if (Main.Instance.CurrentStarSystem != "SolarSystem")
|
||||||
{
|
{
|
||||||
List<GameObject> delete = panRoot.GetAllChildren().Where(g => g.name.Contains("_ShipLog") == false).ToList();
|
List<GameObject> delete = panRoot.GetAllChildren().Where(g => g.name.Contains("_ShipLog") == false).ToList();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user