From 840eb7006d27b95932e52e36d381ddbc0ec4ed1a Mon Sep 17 00:00:00 2001 From: reaperrr Date: Thu, 4 Apr 2019 20:49:05 +0200 Subject: [PATCH] Make actors ignore ReturnToBase order if already on resupplier --- OpenRA.Mods.Common/Traits/Air/Aircraft.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs index b3ecb28df5..1645a3848d 100644 --- a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs +++ b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs @@ -860,7 +860,7 @@ namespace OpenRA.Mods.Common.Traits else if (order.OrderString == "ReturnToBase" && rearmable != null && rearmable.Info.RearmActors.Any()) { // Don't restart activity every time deploy hotkey is triggered - if (self.CurrentActivity is ReturnToBase) + if (self.CurrentActivity is ReturnToBase || GetActorBelow() != null) return; if (!order.Queued)