mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-13 13:18:43 +02:00
Fix retreating in player-with-player battles
This commit is contained in:
parent
a19cdb57ba
commit
b6d8c7d4a5
@ -219,7 +219,7 @@ void BattleProcessor::updateGateState()
|
||||
bool BattleProcessor::makePlayerBattleAction(PlayerColor player, const BattleAction &ba)
|
||||
{
|
||||
bool result = actionsProcessor->makePlayerBattleAction(player, ba);
|
||||
if (!resultProcessor->battleIsEnding())
|
||||
if (!resultProcessor->battleIsEnding() && gameHandler->gameState()->curB != nullptr)
|
||||
flowProcessor->onActionMade(ba);
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user