Remove an outdated comment from AutoCrusher.cs
This commit is contained in:
@@ -63,7 +63,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
self.Location != a.Location && a.IsAtGroundLevel() &&
|
self.Location != a.Location && a.IsAtGroundLevel() &&
|
||||||
Info.TargetRelationships.HasRelationship(self.Owner.RelationshipWith(a.Owner)) &&
|
Info.TargetRelationships.HasRelationship(self.Owner.RelationshipWith(a.Owner)) &&
|
||||||
a.TraitsImplementing<ICrushable>().Any(c => c.CrushableBy(a, self, Info.CrushClasses)))
|
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)
|
if (crushableActor == null)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user