From dc9c758f1224849b41b6e5fdff8e77934b447d64 Mon Sep 17 00:00:00 2001 From: tovl Date: Fri, 22 Feb 2019 19:59:13 +0100 Subject: [PATCH] unreserve when not queued --- OpenRA.Mods.Common/Traits/Air/Aircraft.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs index 3fa3f73eeb..8d07e71d83 100644 --- a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs +++ b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs @@ -838,6 +838,9 @@ namespace OpenRA.Mods.Common.Traits } else if (order.OrderString == "ReturnToBase" && rearmableInfo != null && rearmableInfo.RearmActors.Any()) { + if (!order.Queued) + UnReserve(); + if (!Info.CanHover) self.QueueActivity(order.Queued, new ReturnToBase(self, Info.AbortOnResupply, null, false)); else