mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 17:15:32 +00:00
Fix 'new game' from the main menu not removing menu afterwards
This commit is contained in:
parent
fb8306b61f
commit
a0f5e32113
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ namespace MWGui
|
|||
|
||||
void MainMenu::onNewGameConfirmed()
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager()->removeGuiMode (MWGui::GM_MainMenu);
|
||||
MWBase::Environment::get().getStateManager()->newGame();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue