Fix target invalidation and reacquisition in AttackFollow.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user