Skip to content

Commit

Permalink
Exhibitions in the museum on the Eye correctly reflects shiplog (#770)
Browse files Browse the repository at this point in the history
<!-- Be sure to reference the existing issue if it exists -->

## Bug fixes

- Exhibitions in the museum on the Eye correctly reflects shiplog
- By avoiding to make shiplog empty when arriving at the eye as in
solarsystem.
  • Loading branch information
xen-42 committed Jan 13, 2024
2 parents 029510b + 0a79d7a commit d71dc6c
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 d71dc6c

Please sign in to comment.