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

code review

This commit is contained in:
Laserlicht
2023-09-25 18:06:40 +02:00
committed by GitHub
parent 68e536c290
commit c3373ea34c
7 changed files with 29 additions and 25 deletions

View File

@@ -1706,7 +1706,7 @@ void CPlayerInterface::requestReturningToMainMenu(bool won)
if(!ps->checkVanquished())
param.allDefeated = false;
}
param.land = cb->getMapHeader()->name;
param.scenarioName = cb->getMapHeader()->name;
HighScoreCalculation highScoreCalc;
highScoreCalc.parameters.push_back(param);
highScoreCalc.isCampaign = false;