Remove Resupply re-queueing hack from Aircraft

By preventing that other traits can remotely cancel Resupply
or ReturnToBase.
This commit is contained in:
reaperrr
2019-07-18 18:41:21 +02:00
committed by abcdefg30
parent bfcdb3a8a2
commit 30c2e6b4d2
4 changed files with 25 additions and 26 deletions

View File

@@ -804,6 +804,7 @@ namespace OpenRA.Mods.Common.Traits
self.QueueActivity(order.Queued, WrapMove(new Move(self, cell, WDist.FromCells(8), null, true)));
}
// TODO: This should only cancel activities queued by this trait
if (order.OrderString == "Stop")
self.CancelActivity();