Refactor unreserve actions.

This commit is contained in:
tovl
2019-08-30 22:13:09 +02:00
committed by reaperrr
parent 5787f74af9
commit 145b6a05a3
4 changed files with 29 additions and 21 deletions

View File

@@ -191,6 +191,8 @@ namespace OpenRA.Mods.Common.Activities
QueueChild(move.MoveTo(rp.Location, repairableNear != null ? null : host.Actor));
else
QueueChild(new TakeOff(self));
aircraft.UnReserve();
}
// Aircraft without TakeOffOnResupply remain on the resupplier until something else needs it