Include Armament and Barrel in INotifyAttack.

This commit is contained in:
Paul Chote
2013-08-03 16:21:57 +12:00
parent deb03e7a02
commit 755fa6eaf4
11 changed files with 17 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ namespace OpenRA.Mods.RA
base.Tick( self );
}
public void Attacking(Actor self, Target target)
public void Attacking(Actor self, Target target, Armament a, Barrel barrel)
{
--charges;
timeToRecharge = self.Info.Traits.Get<AttackTeslaInfo>().ReloadTime;