Skip to content

Commit

Permalink
avoid making shiplog empty when arriving at the eye as in solarsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
TRSasasusu committed Jan 13, 2024
1 parent 746519c commit 0a79d7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NewHorizons/Patches/ShipLogPatches/ShipLogManagerPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ShipLogEntryLocation>())
Expand Down Expand Up @@ -127,4 +127,4 @@ public static bool ShipLogManager_Start(ShipLogManager __instance)
}
}
}
}
}

0 comments on commit 0a79d7a

Please sign in to comment.