From 91b3ec7f44e432d3ae93ae6b11c76693849a045e Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Sat, 20 Aug 2022 01:43:04 -0400 Subject: [PATCH] Turn off only star for proxies --- .../Components/SizeControllers/StarEvolutionController.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NewHorizons/Components/SizeControllers/StarEvolutionController.cs b/NewHorizons/Components/SizeControllers/StarEvolutionController.cs index 1f2605d2..00c479f1 100644 --- a/NewHorizons/Components/SizeControllers/StarEvolutionController.cs +++ b/NewHorizons/Components/SizeControllers/StarEvolutionController.cs @@ -266,7 +266,10 @@ namespace NewHorizons.Components.SizeControllers if (controller != null) StarLightController.RemoveStar(controller); // Just turn off the star entirely - transform.parent.gameObject.SetActive(false); + if (_isProxy) + gameObject.SetActive(false); + else + transform.parent.gameObject.SetActive(false); // Turn off sector if (_stellarRemnantController != null) _stellarRemnantController.FullyActivate();