Преглед изворни кода

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