From 8c809e8b12364b540f6a44137c3afd66a7065499 Mon Sep 17 00:00:00 2001 From: xen-42 Date: Thu, 24 Oct 2024 21:08:03 -0400 Subject: [PATCH] Fixed an Outsider-compat fix that ended up creating a new Outsider-compat bug --- NewHorizons/Builder/Props/Audio/SignalBuilder.cs | 2 +- NewHorizons/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NewHorizons/Builder/Props/Audio/SignalBuilder.cs b/NewHorizons/Builder/Props/Audio/SignalBuilder.cs index 07ffafd85..e3ba5aed2 100644 --- a/NewHorizons/Builder/Props/Audio/SignalBuilder.cs +++ b/NewHorizons/Builder/Props/Audio/SignalBuilder.cs @@ -172,7 +172,7 @@ public static GameObject Make(GameObject planetGO, Sector sector, SignalInfo inf audioSignal._identificationDistance = info.identificationRadius; audioSignal._canBePickedUpByScope = true; // The outsider adds outer fog warp volumes to Bramble which break any signals NH places there - if (Main.Instance.ModHelper.Interaction.ModExists("SBtT.TheOutsider") && planetGO.GetComponent()._name == AstroObject.Name.DarkBramble) + if (Main.Instance.ModHelper.Interaction.ModExists("SBtT.TheOutsider") && planetGO?.GetComponent()?._name == AstroObject.Name.DarkBramble) { audioSignal._outerFogWarpVolume = null; } diff --git a/NewHorizons/manifest.json b/NewHorizons/manifest.json index d51e9c958..fea758fdd 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.24.0", + "version": "1.24.1", "owmlVersion": "2.12.1", "dependencies": [ "JohnCorby.VanillaFix", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ], "conflicts": [ "PacificEngine.OW_CommonResources" ],