defer landing decision until needed

This commit is contained in:
Chris Forbes
2009-12-29 19:51:36 +13:00
parent 8a71bf36c3
commit b5d9c9e650
2 changed files with 23 additions and 21 deletions

View File

@@ -34,7 +34,7 @@ namespace OpenRa.Game.Traits
self.CancelActivity();
target = order.TargetActor;
self.QueueActivity(new FlyAttack(order.TargetActor));
self.QueueActivity(new ReturnToBase(self));
self.QueueActivity(new ReturnToBase(self, null));
}
}
}