mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
code review
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user