1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

code review

This commit is contained in:
Laserlicht
2024-09-18 22:10:25 +02:00
parent e963550431
commit a43475042f
5 changed files with 45 additions and 37 deletions

View File

@ -662,10 +662,13 @@ void CServerHandler::endGameplay()
{
GH.curInt = CMM.get();
CMM->enable();
CMM->playMusic();
}
else
{
GH.curInt = CMainMenu::create(false).get();
auto mainMenu = CMainMenu::create();
GH.curInt = mainMenu.get();
mainMenu->playMusic();
}
}