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

video & audio correction; win/lose

This commit is contained in:
Laserlicht
2023-09-22 21:45:12 +02:00
committed by GitHub
parent a4cb74f0dc
commit 30c6cf3b98
6 changed files with 51 additions and 17 deletions

View File

@@ -1696,8 +1696,7 @@ void CPlayerInterface::requestReturningToMainMenu(bool won)
CSH->endGameplay();
GH.defActionsDef = 63;
CMM->menu->switchToTab("main");
if(won)
GH.windows().createAndPushWindow<CHighScoreInputScreen>();
GH.windows().createAndPushWindow<CHighScoreInputScreen>(won);
}
);
}