Remove an outdated comment from AutoCrusher.cs

This commit is contained in:
abcdefg30
2023-09-24 12:07:12 +02:00
committed by Gustas
parent b55606c37f
commit c8779e2a6b

View File

@@ -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<ICrushable>().Any(c => c.CrushableBy(a, self, Info.CrushClasses)))
.ClosestToWithPathFrom(self); // TODO: Make it use shortest pathfinding distance instead
.ClosestToWithPathFrom(self);
if (crushableActor == null)
return;