From 0a79d7a0416a0e8d8f7efc32aecb045da91bc1ab Mon Sep 17 00:00:00 2001 From: orclecle <17728957+TRSasasusu@users.noreply.github.com> Date: Sun, 14 Jan 2024 00:46:57 +0900 Subject: [PATCH] avoid making shiplog empty when arriving at the eye as in solarsystem --- NewHorizons/Patches/ShipLogPatches/ShipLogManagerPatches.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NewHorizons/Patches/ShipLogPatches/ShipLogManagerPatches.cs b/NewHorizons/Patches/ShipLogPatches/ShipLogManagerPatches.cs index 1f684e7cd..12a37e8ec 100644 --- a/NewHorizons/Patches/ShipLogPatches/ShipLogManagerPatches.cs +++ b/NewHorizons/Patches/ShipLogPatches/ShipLogManagerPatches.cs @@ -29,7 +29,7 @@ public static void ShipLogManager_Awake_Prefix(ShipLogManager __instance) NHLogger.Log($"Beginning Ship Log Generation For: {currentStarSystem}"); - if (currentStarSystem != "SolarSystem") + if (currentStarSystem != "SolarSystem" && currentStarSystem != "EyeOfTheUniverse") { __instance._shipLogXmlAssets = new TextAsset[] { }; foreach (ShipLogEntryLocation logEntryLocation in Object.FindObjectsOfType()) @@ -127,4 +127,4 @@ public static bool ShipLogManager_Start(ShipLogManager __instance) } } } -} \ No newline at end of file +}