1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-25 03:40:40 +00:00

Fix 'new game' from the main menu not removing menu afterwards

This commit is contained in:
scrawl 2017-09-27 21:38:15 +02:00
parent fb8306b61f
commit a0f5e32113

View File

@ -80,6 +80,7 @@ namespace MWGui
void MainMenu::onNewGameConfirmed()
{
MWBase::Environment::get().getWindowManager()->removeGuiMode (MWGui::GM_MainMenu);
MWBase::Environment::get().getStateManager()->newGame();
}