浏览代码

Correctly reset UI on aborting Clone/Sacrifice

Ivan Savenko 2 年之前
父节点
当前提交
02c9a3f3d8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/battle/BattleActionsController.cpp

+ 1 - 0
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();
 }