From 02c9a3f3d8ad537e0f598c3abc35202ecc136e0a Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Mon, 10 Apr 2023 14:33:24 +0300 Subject: [PATCH] Correctly reset UI on aborting Clone/Sacrifice --- client/battle/BattleActionsController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/battle/BattleActionsController.cpp b/client/battle/BattleActionsController.cpp index 18c31acb4..05421de07 100644 --- a/client/battle/BattleActionsController.cpp +++ b/client/battle/BattleActionsController.cpp @@ -128,6 +128,7 @@ void BattleActionsController::endCastingSpell() if(owner.stacksController->getActiveStack()) possibleActions = getPossibleActionsForStack(owner.stacksController->getActiveStack()); //restore actions after they were cleared + selectedStack = nullptr; GH.fakeMouseMove(); }