rationalizing some fail

This commit is contained in:
Chris Forbes
2009-12-28 14:49:43 +13:00
parent 8696273a5c
commit 8fc344adb7
12 changed files with 30 additions and 83 deletions

View File

@@ -47,7 +47,7 @@ namespace OpenRa.Game.Traits
if (Util.GetEffectiveSpeed(self) == 0) return null; /* allow disabling move orders from modifiers */
if (xy == toCell) return null;
return Order.Move(self, xy);
return new Order("Move", self, null, xy, null);
}
public void ResolveOrder(Actor self, Order order)