Allow deploy orders to be queued from the command bar.
This commit is contained in:
@@ -662,12 +662,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return null;
|
||||
}
|
||||
|
||||
Order IIssueDeployOrder.IssueDeployOrder(Actor self)
|
||||
Order IIssueDeployOrder.IssueDeployOrder(Actor self, bool queued)
|
||||
{
|
||||
if (!Info.RearmBuildings.Any())
|
||||
return null;
|
||||
|
||||
return new Order("ReturnToBase", self, false);
|
||||
return new Order("ReturnToBase", self, queued);
|
||||
}
|
||||
|
||||
bool IIssueDeployOrder.CanIssueDeployOrder(Actor self) { return Info.RearmBuildings.Any(); }
|
||||
|
||||
Reference in New Issue
Block a user