1
0
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:
Adriankhl
2023-03-23 22:06:42 +01:00
parent 5ac56eb636
commit 49662f6f36

View File

@@ -693,6 +693,8 @@ void BattleInterface::requestAutofightingAIToTakeAction()
auto ba = std::make_unique<BattleAction>(curInt->autofightingAI->activeStack(activeStack));
givenCommand.setn(ba.release());
}
stacksController->setActiveStack(nullptr);
}
});