mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
16 lines
374 B
C#
16 lines
374 B
C#
using HarmonyLib;
|
|
using NewHorizons.Components;
|
|
|
|
namespace NewHorizons.Patches;
|
|
|
|
[HarmonyPatch]
|
|
public static class DeathManagerPatches
|
|
{
|
|
[HarmonyPrefix]
|
|
[HarmonyPatch(typeof(DeathManager), nameof(DeathManager.FinishDeathSequence))]
|
|
public static void DeathManager_FinishDeathSequence()
|
|
{
|
|
NHGameOverManager.Instance.TryHijackDeathSequence();
|
|
}
|
|
}
|