Skip to content

Commit

Permalink
Revert "Remove an outdated comment from AutoCrusher.cs"
Browse files Browse the repository at this point in the history
This reverts commit c8779e2
  • Loading branch information
abcdefg30 authored and PunkPun committed Oct 13, 2023
1 parent 1dc14ed commit 5eb6ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Mods.Common/Traits/AutoCrusher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void INotifyIdle.TickIdle(Actor self)

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;
Expand Down

0 comments on commit 5eb6ba6

Please sign in to comment.