mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Don't generate ship log when warping back to eye
This commit is contained in:
parent
a501baf7d5
commit
c44dd5d85f
@ -19,6 +19,8 @@ namespace NewHorizons.Patches
|
||||
[HarmonyPatch(typeof(ShipLogManager), nameof(ShipLogManager.Awake))]
|
||||
public static void ShipLogManager_Awake_Prefix(ShipLogManager __instance)
|
||||
{
|
||||
if (Main.Instance.IsWarpingBackToEye) return;
|
||||
|
||||
RumorModeBuilder.Init();
|
||||
ShipLogHandler.Init();
|
||||
|
||||
@ -59,6 +61,8 @@ namespace NewHorizons.Patches
|
||||
[HarmonyPatch(typeof(ShipLogManager), nameof(ShipLogManager.Awake))]
|
||||
public static void ShipLogManager_Awake_Postfix(ShipLogManager __instance)
|
||||
{
|
||||
if (Main.Instance.IsWarpingBackToEye) return;
|
||||
|
||||
ShipLogHandler.CheckForModdedFacts(__instance);
|
||||
RumorModeBuilder.GenerateEntryData(__instance);
|
||||
for (var i = 0; i < __instance._entryList.Count; i++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user