From 5eb6ba6e5c593b2b94172ab4db83388db84cc882 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Thu, 12 Oct 2023 17:11:19 +0200 Subject: [PATCH] Revert "Remove an outdated comment from AutoCrusher.cs" This reverts commit c8779e2a6bcebc3a4d9d360384797d5a34e1d652 --- 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 ce1fd2fad6..9a2ad6e540 100644 --- a/OpenRA.Mods.Common/Traits/AutoCrusher.cs +++ b/OpenRA.Mods.Common/Traits/AutoCrusher.cs @@ -61,7 +61,7 @@ namespace OpenRA.Mods.Common.Traits var crushableActor = self.World.FindActorsInCircle(self.CenterPosition, Info.ScanRadius) .Where(a => IsValidCrushTarget(self, a)) - .ClosestToWithPathFrom(self); + .ClosestToWithPathFrom(self); // TODO: Make it use shortest pathfinding distance instead if (crushableActor == null) return;