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

This commit is contained in:
Henrik Rydgard committed 2013-07-30 21:39:37 +02:00
1 parent 49a3b71f60
commit 7e373c206d
1 file changed
+1 -1
+1 -1
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;
}