Add instrument zones and standalone quantum instruments to the inflation object list

This commit is contained in:
Joshua Thome 2025-01-29 20:04:48 -06:00
parent b5538f7627
commit c9f0689116

View File

@ -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);
}
}