Merge pull request #7276 from penev92/bleed_fixAttack
Minor targeting cleanup
This commit is contained in:
@@ -27,14 +27,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public AttackFollow(Actor self, AttackFollowInfo info)
|
||||
: base(self, info) { }
|
||||
|
||||
protected override bool CanAttack(Actor self, Target target)
|
||||
{
|
||||
if (!target.IsValidFor(self))
|
||||
return false;
|
||||
|
||||
return base.CanAttack(self, target);
|
||||
}
|
||||
|
||||
public virtual void Tick(Actor self)
|
||||
{
|
||||
DoAttack(self, Target);
|
||||
|
||||
Reference in New Issue
Block a user