From: Ingo Ruhnke Date: Sun, 10 Aug 2014 00:44:52 +0000 (+0200) Subject: Fixed issue with MainMenu stack on top of the WorldmapMenu, might be worth to make... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ed097b96025390f01ebc7f166badb9713f13bc29;p=supertux.git Fixed issue with MainMenu stack on top of the WorldmapMenu, might be worth to make MenuManager private to the Screen --- diff --git a/src/supertux/menu/worldmap_menu.cpp b/src/supertux/menu/worldmap_menu.cpp index f526ee465..cadb49526 100644 --- a/src/supertux/menu/worldmap_menu.cpp +++ b/src/supertux/menu/worldmap_menu.cpp @@ -43,6 +43,7 @@ WorldmapMenu::check_menu() break; case MNID_QUITWORLDMAP: + MenuManager::instance().clear_menu_stack(); g_screen_manager->exit_screen(); break; }