No more invincible

This commit is contained in:
Noah Pilarski 2022-09-11 04:36:56 -04:00
parent e4e3e87892
commit df4e0e237b

View File

@ -6,12 +6,6 @@ namespace NewHorizons.Patches
public static class EyeOfTheUniversePatches
{
// Funny eye of the universe stuff
[HarmonyPrefix]
[HarmonyPatch(typeof(DeathManager), nameof(DeathManager.KillPlayer))]
public static bool DeathManager_KillPlayer(DeathType deathType)
{
return Main.Instance.CurrentStarSystem != "EyeOfTheUniverse" || deathType == DeathType.BigBang;
}
private static void OnLoadScene(OWScene scene)
{