Exhibitions in the museum on the Eye correctly reflects shiplog (#770)

<!-- 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.
This commit is contained in:
xen-42 2024-01-13 11:04:54 -05:00 committed by GitHub
commit d71dc6c22d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ namespace NewHorizons.Patches.ShipLogPatches
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>())
@ -127,4 +127,4 @@ namespace NewHorizons.Patches.ShipLogPatches
}
}
}
}
}