From 02a7ff87db98e38438432f11478705dfaeb7f821 Mon Sep 17 00:00:00 2001 From: Gustas <37534529+PunkPun@users.noreply.github.com> Date: Sat, 20 May 2023 19:30:15 +0300 Subject: [PATCH] Fix MoveAdjacent activities cancelling queued activities --- OpenRA.Mods.Common/Activities/Move/MoveAdjacentTo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Activities/Move/MoveAdjacentTo.cs b/OpenRA.Mods.Common/Activities/Move/MoveAdjacentTo.cs index 82e387893c..24b3d46487 100644 --- a/OpenRA.Mods.Common/Activities/Move/MoveAdjacentTo.cs +++ b/OpenRA.Mods.Common/Activities/Move/MoveAdjacentTo.cs @@ -91,7 +91,7 @@ namespace OpenRA.Mods.Common.Activities // Cancel the current path if the activity asks to stop. if (ShouldStop(self) || noTarget) - Cancel(self); + Cancel(self, true); else if (!IsCanceling && targetIsValid && ShouldRepath(self, oldTargetLocation)) { // Target has moved, but is still valid.