remove spurious trait lookup in AutoHeal

This commit is contained in:
Chris Forbes
2011-09-01 10:40:19 +12:00
parent 2cce16fe3d
commit 8316ffc07e

View File

@@ -31,7 +31,7 @@ namespace OpenRA.Mods.RA
.ClosestTo( self.CenterLocation );
if( target != null )
self.QueueActivity(self.Trait<AttackBase>().GetAttackActivity(self, Target.FromActor( target ), false ));
self.QueueActivity(attack.GetAttackActivity(self, Target.FromActor( target ), false ));
}
}
}