From 7c209efb9f1e4eeb248b36d65463aa10e6f2f70e Mon Sep 17 00:00:00 2001 From: Xjph Date: Sat, 26 Feb 2022 20:10:29 -0330 Subject: [PATCH] Revert "Close Ring Proximity criteria: Prevent it from triggering on a belt (#56)" (#58) This reverts commit d9fbdd5269c53cc196b3a7fc0c18077d6060f06d. --- ObservatoryExplorer/DefaultCriteria.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ObservatoryExplorer/DefaultCriteria.cs b/ObservatoryExplorer/DefaultCriteria.cs index 12a0232..5dc5579 100644 --- a/ObservatoryExplorer/DefaultCriteria.cs +++ b/ObservatoryExplorer/DefaultCriteria.cs @@ -68,7 +68,7 @@ namespace Observatory.Explorer foreach (var ring in parent.Rings) { var separation = Math.Min(Math.Abs(scan.SemiMajorAxis - ring.OuterRad), Math.Abs(ring.InnerRad - scan.SemiMajorAxis)); - if (separation < scan.Radius * 10 && !ring.Name.Contains("Belt")) + if (separation < scan.Radius * 10) { results.Add("Close Ring Proximity", $"Orbit: {scan.SemiMajorAxis / 1000:N0}km, Radius: {scan.Radius / 1000:N0}km, Distance from ring: {separation / 1000:N0}km"); }