mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Fix handling of retreating of AI's
This commit is contained in:
@@ -219,7 +219,8 @@ void BattleProcessor::updateGateState()
|
||||
bool BattleProcessor::makePlayerBattleAction(PlayerColor player, const BattleAction &ba)
|
||||
{
|
||||
bool result = actionsProcessor->makePlayerBattleAction(player, ba);
|
||||
flowProcessor->onActionMade(ba);
|
||||
if (!resultProcessor->battleIsEnding())
|
||||
flowProcessor->onActionMade(ba);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user