diff --git a/OpenRA.Mods.Common/Activities/Move/Move.cs b/OpenRA.Mods.Common/Activities/Move/Move.cs index ebaf66aeb9..e5a704d33a 100644 --- a/OpenRA.Mods.Common/Activities/Move/Move.cs +++ b/OpenRA.Mods.Common/Activities/Move/Move.cs @@ -142,6 +142,9 @@ namespace OpenRA.Mods.Common.Activities public override Activity Tick(Actor self) { + if (IsCanceled) + return NextActivity; + if (moveDisablers.Any(d => d.MoveDisabled(self))) return this; diff --git a/OpenRA.Mods.Common/Traits/Upgrades/DeployToUpgrade.cs b/OpenRA.Mods.Common/Traits/Upgrades/DeployToUpgrade.cs index b5d0821d2e..f9b7f23fee 100644 --- a/OpenRA.Mods.Common/Traits/Upgrades/DeployToUpgrade.cs +++ b/OpenRA.Mods.Common/Traits/Upgrades/DeployToUpgrade.cs @@ -95,7 +95,7 @@ namespace OpenRA.Mods.Common.Traits if (isUpgraded) { // Play undeploy animation and after that revoke the upgrades - self.QueueActivity(new CallFunc(() => + self.QueueActivity(false, new CallFunc(() => { if (!string.IsNullOrEmpty(info.UndeploySound)) Sound.Play(info.UndeploySound, self.CenterPosition);