1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

win screen ready

This commit is contained in:
Laserlicht
2023-09-23 01:36:01 +02:00
committed by GitHub
parent 901a33bf1d
commit d3f007453d
4 changed files with 27 additions and 12 deletions

View File

@@ -66,7 +66,6 @@
#include "../lib/CGeneralTextHandler.h"
#include "../lib/CHeroHandler.h"
#include "../lib/CPlayerState.h"
#include "../lib/gameState/CGameState.h"
#include "../lib/CStack.h"
#include "../lib/CStopWatch.h"
#include "../lib/CThreadHelper.h"
@@ -1706,6 +1705,7 @@ void CPlayerInterface::requestReturningToMainMenu(bool won)
}
HighScoreCalculation calc;
calc.parameters.push_back(param);
calc.isCampaign = false;
if(won && cb->getStartInfo()->campState)
CSH->startCampaignScenario(param, cb->getStartInfo()->campState);