mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix deactivation of current stack if player does not acts in time
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user