From da6c7b79a18c4197c0e380bd10fa26452ce77f03 Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Sat, 3 Sep 2022 20:51:07 -0400 Subject: [PATCH] Allow big bang to kill you at the eye --- NewHorizons/Patches/EyeOfTheUniversePatches.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NewHorizons/Patches/EyeOfTheUniversePatches.cs b/NewHorizons/Patches/EyeOfTheUniversePatches.cs index b03cb42a..9cea63ba 100644 --- a/NewHorizons/Patches/EyeOfTheUniversePatches.cs +++ b/NewHorizons/Patches/EyeOfTheUniversePatches.cs @@ -8,9 +8,9 @@ namespace NewHorizons.Patches // Funny eye of the universe stuff [HarmonyPrefix] [HarmonyPatch(typeof(DeathManager), nameof(DeathManager.KillPlayer))] - public static bool DeathManager_KillPlayer() + public static bool DeathManager_KillPlayer(DeathType deathType) { - return (Main.Instance.CurrentStarSystem != "EyeOfTheUniverse"); + return Main.Instance.CurrentStarSystem != "EyeOfTheUniverse" || deathType == DeathType.BigBang; } private static void SwitchToDefaultIfAtEyeGoingToSS(OWScene scene)