Fix NewUI bug where returning to menu and starting a new game started the wrong game somehow.

This commit is contained in:
Henrik Rydgard 2013-07-30 21:38:41 +02:00
parent 49a3b71f60
commit 7e373c206d

View File

@ -521,7 +521,7 @@ UI::EventReturn GamePauseScreen::OnContinue(UI::EventParams &e) {
}
UI::EventReturn GamePauseScreen::OnExitToMenu(UI::EventParams &e) {
screenManager()->switchScreen(new MainScreen());
screenManager()->finishDialog(this, DR_OK);
return UI::EVENT_DONE;
}