This commit is contained in:
Chris Forbes
2009-12-31 16:52:25 +13:00
parent 98f643dc66
commit 4857c21a15

View File

@@ -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();
}