mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
1.23.4 (#971)
## Bug fixes - Fixed held item persistence breaking dream world entry via death (oops)
This commit is contained in:
commit
6c18e9635a
@ -49,11 +49,11 @@ public static class HeldItemHandler
|
||||
_isInitialized = true;
|
||||
Main.Instance.OnChangeStarSystem.AddListener(OnStarSystemChanging);
|
||||
Main.Instance.OnStarSystemLoaded.AddListener(OnSystemReady);
|
||||
GlobalMessenger<DeathType>.AddListener("PlayerDeath", OnPlayerDeath);
|
||||
GlobalMessenger.AddListener("DeathSequenceComplete", OnDeathSequenceComplete);
|
||||
}
|
||||
}
|
||||
|
||||
private static void OnPlayerDeath(DeathType _)
|
||||
private static void OnDeathSequenceComplete()
|
||||
{
|
||||
NHLogger.Log("Player died, resetting held items");
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"author": "xen, Bwc9876, JohnCorby, MegaPiggy, Trifid, and friends",
|
||||
"name": "New Horizons",
|
||||
"uniqueName": "xen.NewHorizons",
|
||||
"version": "1.23.3",
|
||||
"version": "1.23.4",
|
||||
"owmlVersion": "2.12.1",
|
||||
"dependencies": [ "JohnCorby.VanillaFix", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ],
|
||||
"conflicts": [ "PacificEngine.OW_CommonResources" ],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user