Allow deploy orders to be queued from the command bar.

This commit is contained in:
Paul Chote
2018-09-09 05:22:57 +01:00
committed by abcdefg30
parent 3abc85b588
commit 0a507f3d33
9 changed files with 38 additions and 21 deletions

View File

@@ -137,9 +137,9 @@ namespace OpenRA.Mods.Cnc.Traits
return new Order(order.OrderID, self, target, queued);
}
Order IIssueDeployOrder.IssueDeployOrder(Actor self)
Order IIssueDeployOrder.IssueDeployOrder(Actor self, bool queued)
{
return new Order("Detonate", self, false);
return new Order("Detonate", self, queued);
}
bool IIssueDeployOrder.CanIssueDeployOrder(Actor self) { return true; }