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

pull/303/head
scrawl 7 years ago
parent fb8306b61f
commit a0f5e32113

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

Loading…
Cancel
Save