Check for eye of the universe

This commit is contained in:
Noah Pilarski 2022-08-11 14:05:23 -04:00
parent fa6890d7a5
commit 2012c911b7

View File

@ -27,6 +27,7 @@ namespace NewHorizons.Handlers
public static void LoadVessel()
{
if (Instance.CurrentStarSystem == "EyeOfTheUniverse") return SearchUtilities.Find("Vessel_Body/SPAWN_Vessel").GetComponent<EyeSpawnPoint>();
if (Instance.IsWarpingFromVessel)
_vesselSpawnPoint = Instance.CurrentStarSystem == "SolarSystem" ? UpdateVessel() : CreateVessel();
else