diff --git a/NewHorizons/Handlers/PlanetDestructionHandler.cs b/NewHorizons/Handlers/PlanetDestructionHandler.cs index 79f65cb6..ec9d1674 100644 --- a/NewHorizons/Handlers/PlanetDestructionHandler.cs +++ b/NewHorizons/Handlers/PlanetDestructionHandler.cs @@ -60,7 +60,7 @@ namespace NewHorizons.Handlers // Collect all rigid bodies and proxies foreach (var rigidbody in CenterOfTheUniverse.s_rigidbodies) { - if (rigidbody.name is not "Player_Body" && rigidbody.name is not "Ship_Body") + if (rigidbody.name is not ("Player_Body" or "Probe_Body" or "Ship_Body")) { toDisable.Add(rigidbody.gameObject); }