Add support for disabling IIssueDeployOrders.

This commit is contained in:
Paul Chote
2018-01-14 22:48:52 +00:00
committed by ltem
parent a726b57367
commit 2fccfdf1ee
9 changed files with 17 additions and 2 deletions

View File

@@ -129,6 +129,8 @@ namespace OpenRA.Mods.Cnc.Traits
return new Order("Detonate", self, false);
}
bool IIssueDeployOrder.CanIssueDeployOrder(Actor self) { return true; }
string IOrderVoice.VoicePhraseForOrder(Actor self, Order order)
{
return info.Voice;