From c8779e2a6bcebc3a4d9d360384797d5a34e1d652 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Sun, 24 Sep 2023 12:07:12 +0200 Subject: [PATCH] Remove an outdated comment from AutoCrusher.cs --- OpenRA.Mods.Common/Traits/AutoCrusher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/AutoCrusher.cs b/OpenRA.Mods.Common/Traits/AutoCrusher.cs index aa07c4e6fd..e831bfed19 100644 --- a/OpenRA.Mods.Common/Traits/AutoCrusher.cs +++ b/OpenRA.Mods.Common/Traits/AutoCrusher.cs @@ -63,7 +63,7 @@ namespace OpenRA.Mods.Common.Traits self.Location != a.Location && a.IsAtGroundLevel() && Info.TargetRelationships.HasRelationship(self.Owner.RelationshipWith(a.Owner)) && a.TraitsImplementing().Any(c => c.CrushableBy(a, self, Info.CrushClasses))) - .ClosestToWithPathFrom(self); // TODO: Make it use shortest pathfinding distance instead + .ClosestToWithPathFrom(self); if (crushableActor == null) return;