1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 06:15:32 +00:00

Savegame dialog: Hide main menu after successful load

This commit is contained in:
scrawl 2014-03-27 02:36:21 +01:00
parent 0e78ffe8c0
commit 27956f3624

View file

@ -169,7 +169,10 @@ namespace MWGui
else
{
if (mCurrentCharacter && slot)
{
MWBase::Environment::get().getStateManager()->loadGame (mCurrentCharacter, slot);
MWBase::Environment::get().getWindowManager()->removeGuiMode (MWGui::GM_MainMenu);
}
}
setVisible(false);