mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix SetDefaultStarSystem not working, fix Outsider breaking map mode
This commit is contained in:
parent
fe86014b97
commit
b42fb36925
@ -37,6 +37,7 @@ namespace NewHorizons.Builder.ShipLog
|
|||||||
if (shipLogAstroObject._id == "POWER_STATION")
|
if (shipLogAstroObject._id == "POWER_STATION")
|
||||||
{
|
{
|
||||||
astroObject = GameObject.FindObjectsOfType<AstroObject>().FirstOrDefault(x => x._customName == "Power Station");
|
astroObject = GameObject.FindObjectsOfType<AstroObject>().FirstOrDefault(x => x._customName == "Power Station");
|
||||||
|
if (astroObject == null) continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -935,6 +935,10 @@ namespace NewHorizons
|
|||||||
{
|
{
|
||||||
_defaultStarSystem = defaultSystem;
|
_defaultStarSystem = defaultSystem;
|
||||||
}
|
}
|
||||||
|
if (LoadManager.GetCurrentScene() != OWScene.SolarSystem && LoadManager.GetCurrentScene() != OWScene.EyeOfTheUniverse)
|
||||||
|
{
|
||||||
|
CurrentStarSystem = _defaultStarSystem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Load
|
#endregion Load
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user