From c9f0689116f01a122b6a4c6f22f41b07e77498fd Mon Sep 17 00:00:00 2001 From: Joshua Thome Date: Wed, 29 Jan 2025 20:04:48 -0600 Subject: [PATCH] Add instrument zones and standalone quantum instruments to the inflation object list --- NewHorizons/Handlers/EyeSceneHandler.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NewHorizons/Handlers/EyeSceneHandler.cs b/NewHorizons/Handlers/EyeSceneHandler.cs index 48281347..7a3a4c1a 100644 --- a/NewHorizons/Handlers/EyeSceneHandler.cs +++ b/NewHorizons/Handlers/EyeSceneHandler.cs @@ -243,6 +243,8 @@ namespace NewHorizons.Handlers // Quantum instrument is not a child of an instrument zone, so treat it like its own zone quantumInstrument.gameObject.SetActive(false); ArrayHelpers.Append(ref quantumCampsiteController._instrumentZones, quantumInstrument.gameObject); + + ArrayHelpers.Append(ref cosmicInflationController._inflationObjects, quantumInstrument.transform); } } @@ -250,6 +252,8 @@ namespace NewHorizons.Handlers { instrumentZone.gameObject.SetActive(false); ArrayHelpers.Append(ref quantumCampsiteController._instrumentZones, instrumentZone.gameObject); + + ArrayHelpers.Append(ref cosmicInflationController._inflationObjects, instrumentZone.transform); } }