From 4857c21a153ade7944dcddf7305641f1d1377fa3 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 31 Dec 2009 16:52:25 +1300 Subject: [PATCH] wtf. --- OpenRa.Game/Traits/AutoHeal.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Traits/AutoHeal.cs b/OpenRa.Game/Traits/AutoHeal.cs index 42a8674a50..61018ed3cd 100644 --- a/OpenRa.Game/Traits/AutoHeal.cs +++ b/OpenRa.Game/Traits/AutoHeal.cs @@ -13,7 +13,7 @@ namespace OpenRa.Game.Traits if (target != null) attack.ResolveOrder(self, new Order("Attack", self, target, int2.Zero, null)); else - if (!(self.GetCurrentActivity() is Move)) + if (self.GetCurrentActivity() is Attack) self.CancelActivity(); }