mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
No more invincible
This commit is contained in:
parent
e4e3e87892
commit
df4e0e237b
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user