Cancel carryall transport request when cancelling order.

This commit is contained in:
tovl
2019-07-21 17:37:47 +02:00
committed by teinarss
parent 9ac3d7507c
commit d9e1a68453
4 changed files with 33 additions and 8 deletions

View File

@@ -141,6 +141,14 @@ namespace OpenRA.Mods.Common.Activities
return false;
}
public override void Cancel(Actor self, bool keepQueue = false)
{
foreach (var t in transportCallers)
t.MovementCancelled(self);
base.Cancel(self, keepQueue);
}
void OnResupplyEnding(Actor self)
{
if (aircraft != null)