Fix target invalidation and reacquisition in AttackFollow.

This commit is contained in:
Paul Chote
2019-01-25 22:14:02 +00:00
parent 5ef7809002
commit 0bfc487999
4 changed files with 149 additions and 68 deletions

View File

@@ -255,12 +255,6 @@ namespace OpenRA.Mods.Common.Traits
if (attack != null && attack.IsAiming)
attack.OnStopOrder(self);
}
protected override void TraitResumed(Actor self)
{
if (attack != null)
FaceTarget(self, attack.Target);
}
}
public class TurretFacingInit : IActorInit<int>