2
0
Эх сурвалжийг харах

Fix deactivation of current stack if player does not acts in time

Ivan Savenko 1 жил өмнө
parent
commit
0a8b81b2c4

+ 2 - 0
client/battle/BattleStacksController.cpp

@@ -691,6 +691,8 @@ void BattleStacksController::endAction(const BattleAction & action)
 
 void BattleStacksController::startAction(const BattleAction & action)
 {
+	// if timer run out and we did not act in time - deactivate current stack
+	setActiveStack(nullptr);
 	removeExpiredColorFilters();
 }