diff --git a/NewHorizons/Utility/AstroObjectLocator.cs b/NewHorizons/Utility/AstroObjectLocator.cs index 8d33aa59..428e0f4b 100644 --- a/NewHorizons/Utility/AstroObjectLocator.cs +++ b/NewHorizons/Utility/AstroObjectLocator.cs @@ -132,7 +132,9 @@ namespace NewHorizons.Utility if (primary._customName.Equals("Sun Station")) { // there are multiple debris with the same name - otherChildren.AddRange(GameObject.FindObjectsOfType().Where(x => x.name == "SS_Debris_Body")); + otherChildren.AddRange(Object.FindObjectsOfType() + .Select(x => x.gameObject) + .Where(x => x.name == "SS_Debris_Body")); } break; default: