INotifyCreated.Created now calls base properly

This commit is contained in:
Markus Hartung
2017-06-02 00:29:19 +02:00
committed by reaperrr
parent f7ddb969c6
commit 2a0b3b39ea
5 changed files with 15 additions and 5 deletions

View File

@@ -47,9 +47,11 @@ namespace OpenRA.Mods.Cnc.Traits
attack.AttackTarget(Target.FromCell(self.World, order.TargetLocation), false, false, true);
}
void INotifyCreated.Created(Actor self)
protected override void Created(Actor self)
{
attack = self.Trait<AttackBase>();
base.Created(self);
}
void INotifyBurstComplete.FiredBurst(Actor self, Target target, Armament a)