mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
fix campaign highscore sum
This commit is contained in:
parent
c328007687
commit
539ffb3810
@ -648,14 +648,14 @@ void CServerHandler::startGameplay(VCMI_LIB_WRAP_NAMESPACE(CGameState) * gameSta
|
||||
if(CMM)
|
||||
CMM->disable();
|
||||
|
||||
campaignScoreCalculator = nullptr;
|
||||
|
||||
switch(si->mode)
|
||||
{
|
||||
case EStartMode::NEW_GAME:
|
||||
client->newGame(gameState);
|
||||
break;
|
||||
case EStartMode::CAMPAIGN:
|
||||
if(si->campState->conqueredScenarios().empty())
|
||||
campaignScoreCalculator.reset();
|
||||
client->newGame(gameState);
|
||||
break;
|
||||
case EStartMode::LOAD_GAME:
|
||||
|
Loading…
Reference in New Issue
Block a user