From e1940eec774c8fed968b886c4af1bdb9273d7441 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Fri, 11 Aug 2023 17:54:11 +0200 Subject: [PATCH] Remove a bogus CanDeploy check from order resolving for charge deploys --- .../Traits/Conditions/GrantConditionOnDeployWithCharge.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnDeployWithCharge.cs b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnDeployWithCharge.cs index c7a8549582..4aabf3163b 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnDeployWithCharge.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/GrantConditionOnDeployWithCharge.cs @@ -147,7 +147,7 @@ namespace OpenRA.Mods.Common.Traits public void ResolveOrder(Actor self, Order order) { - if (order.OrderString == "DeployWithCharge" && CanDeploy()) + if (order.OrderString == "DeployWithCharge") self.QueueActivity(order.Queued, new DeployForGrantedConditionWithCharge(self, this)); }