fix interaction between autoattack and idleanimation

This commit is contained in:
Bob
2010-11-16 10:45:36 +13:00
committed by Chris Forbes
parent 7bd7f4e56b
commit a7f42dcf0c
6 changed files with 10 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ namespace OpenRA.Mods.RA
self.Trait<AttackBase>().AttackTarget(Target.FromActor(e.Attacker), false, self.Info.Traits.Get<AutoTargetInfo>().AllowMovement);
}
public void Idle( Actor self )
public void TickIdle( Actor self )
{
self.QueueActivity( new IdleAttackActivity() );
}