mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Check for eye of the universe
This commit is contained in:
parent
fa6890d7a5
commit
2012c911b7
@ -27,6 +27,7 @@ namespace NewHorizons.Handlers
|
|||||||
|
|
||||||
public static void LoadVessel()
|
public static void LoadVessel()
|
||||||
{
|
{
|
||||||
|
if (Instance.CurrentStarSystem == "EyeOfTheUniverse") return SearchUtilities.Find("Vessel_Body/SPAWN_Vessel").GetComponent<EyeSpawnPoint>();
|
||||||
if (Instance.IsWarpingFromVessel)
|
if (Instance.IsWarpingFromVessel)
|
||||||
_vesselSpawnPoint = Instance.CurrentStarSystem == "SolarSystem" ? UpdateVessel() : CreateVessel();
|
_vesselSpawnPoint = Instance.CurrentStarSystem == "SolarSystem" ? UpdateVessel() : CreateVessel();
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user