Explorar el Código

Correctly reset UI on aborting Clone/Sacrifice

Ivan Savenko hace 2 años
padre
commit
02c9a3f3d8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      client/battle/BattleActionsController.cpp

+ 1 - 0
client/battle/BattleActionsController.cpp

@@ -128,6 +128,7 @@ void BattleActionsController::endCastingSpell()
 	if(owner.stacksController->getActiveStack())
 	if(owner.stacksController->getActiveStack())
 		possibleActions = getPossibleActionsForStack(owner.stacksController->getActiveStack()); //restore actions after they were cleared
 		possibleActions = getPossibleActionsForStack(owner.stacksController->getActiveStack()); //restore actions after they were cleared
 
 
+	selectedStack = nullptr;
 	GH.fakeMouseMove();
 	GH.fakeMouseMove();
 }
 }