1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

merge fix - do not attempt to display multiple dialogs at once

This commit is contained in:
Ivan Savenko 2022-12-29 22:11:47 +02:00
parent b275d9de72
commit c8cd8aaf10

View File

@ -466,6 +466,7 @@ void BattleInterface::battleFinished(const BattleResult& br)
void BattleInterface::displayBattleFinished()
{
CCS->curh->changeGraphic(ECursor::ADVENTURE,0);
curInt->waitWhileDialog();
if(settings["session"]["spectate"].Bool() && settings["session"]["spectate-skip-battle-result"].Bool())
{
close();