(a6a0c23a1) Close all message boxes when clicking the quit button in the pause menu. Fixes character wizard not closing if it's open when quitting to the main menu.

This commit is contained in:
Joonas Rikkonen
2019-04-15 11:58:38 +03:00
parent 2370ca91b6
commit a7feb6f7e0

View File

@@ -1559,6 +1559,8 @@ namespace Barotrauma
}
GameMain.GameSession = null;
}
GUIMessageBox.CloseAll();
GameMain.MainMenuScreen.Select();