diff --git a/OpenRA.Mods.RA/AutoHeal.cs b/OpenRA.Mods.RA/AutoHeal.cs index 51cdbd7c01..1415100334 100644 --- a/OpenRA.Mods.RA/AutoHeal.cs +++ b/OpenRA.Mods.RA/AutoHeal.cs @@ -31,7 +31,7 @@ namespace OpenRA.Mods.RA .ClosestTo( self.CenterLocation ); if( target != null ) - self.QueueActivity(self.Trait().GetAttackActivity(self, Target.FromActor( target ), false )); + self.QueueActivity(attack.GetAttackActivity(self, Target.FromActor( target ), false )); } } }