Fix a NRE that destroyed band together

This commit is contained in:
xen-42 2024-10-08 19:39:01 -04:00
parent 20d3aedf27
commit 417acafb36
2 changed files with 2 additions and 3 deletions

View File

@ -75,8 +75,7 @@ namespace NewHorizons.Patches.EchoesOfTheEyePatches
} }
else else
{ {
var departureAO = dreamCampfire.GetComponentInParent<AstroObject>(); __instance._planetBody = dreamCampfire.GetAttachedOWRigidbody();
__instance._planetBody = departureAO.GetAttachedOWRigidbody();
__instance._ringWorldController = null; __instance._ringWorldController = null;
} }

View File

@ -4,7 +4,7 @@
"author": "xen, Bwc9876, JohnCorby, MegaPiggy, Trifid, and friends", "author": "xen, Bwc9876, JohnCorby, MegaPiggy, Trifid, and friends",
"name": "New Horizons", "name": "New Horizons",
"uniqueName": "xen.NewHorizons", "uniqueName": "xen.NewHorizons",
"version": "1.23.1", "version": "1.23.2",
"owmlVersion": "2.12.1", "owmlVersion": "2.12.1",
"dependencies": [ "JohnCorby.VanillaFix", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ], "dependencies": [ "JohnCorby.VanillaFix", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ],
"conflicts": [ "PacificEngine.OW_CommonResources" ], "conflicts": [ "PacificEngine.OW_CommonResources" ],