mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Allow big bang to kill you at the eye
This commit is contained in:
parent
bb014b689a
commit
da6c7b79a1
@ -8,9 +8,9 @@ namespace NewHorizons.Patches
|
|||||||
// Funny eye of the universe stuff
|
// Funny eye of the universe stuff
|
||||||
[HarmonyPrefix]
|
[HarmonyPrefix]
|
||||||
[HarmonyPatch(typeof(DeathManager), nameof(DeathManager.KillPlayer))]
|
[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)
|
private static void SwitchToDefaultIfAtEyeGoingToSS(OWScene scene)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user