mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Deactivate activeStack when auto combat starts
This commit is contained in:
@@ -693,6 +693,8 @@ void BattleInterface::requestAutofightingAIToTakeAction()
|
||||
auto ba = std::make_unique<BattleAction>(curInt->autofightingAI->activeStack(activeStack));
|
||||
givenCommand.setn(ba.release());
|
||||
}
|
||||
|
||||
stacksController->setActiveStack(nullptr);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user