From 417acafb36e6235ce51ee152d65d38c1326f0d16 Mon Sep 17 00:00:00 2001 From: xen-42 Date: Tue, 8 Oct 2024 19:39:01 -0400 Subject: [PATCH] Fix a NRE that destroyed band together --- .../EchoesOfTheEyePatches/DreamworldControllerPatches.cs | 3 +-- NewHorizons/manifest.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/NewHorizons/Patches/EchoesOfTheEyePatches/DreamworldControllerPatches.cs b/NewHorizons/Patches/EchoesOfTheEyePatches/DreamworldControllerPatches.cs index ded7f3d5..3d37b4b2 100644 --- a/NewHorizons/Patches/EchoesOfTheEyePatches/DreamworldControllerPatches.cs +++ b/NewHorizons/Patches/EchoesOfTheEyePatches/DreamworldControllerPatches.cs @@ -75,8 +75,7 @@ namespace NewHorizons.Patches.EchoesOfTheEyePatches } else { - var departureAO = dreamCampfire.GetComponentInParent(); - __instance._planetBody = departureAO.GetAttachedOWRigidbody(); + __instance._planetBody = dreamCampfire.GetAttachedOWRigidbody(); __instance._ringWorldController = null; } diff --git a/NewHorizons/manifest.json b/NewHorizons/manifest.json index d0f8f94d..2581a2bb 100644 --- a/NewHorizons/manifest.json +++ b/NewHorizons/manifest.json @@ -4,7 +4,7 @@ "author": "xen, Bwc9876, JohnCorby, MegaPiggy, Trifid, and friends", "name": "New Horizons", "uniqueName": "xen.NewHorizons", - "version": "1.23.1", + "version": "1.23.2", "owmlVersion": "2.12.1", "dependencies": [ "JohnCorby.VanillaFix", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ], "conflicts": [ "PacificEngine.OW_CommonResources" ],