Fixed issue with MainMenu stack on top of the WorldmapMenu, might be worth to make...
authorIngo Ruhnke <grumbel@gmail.com>
Sun, 10 Aug 2014 00:44:52 +0000 (02:44 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Sun, 10 Aug 2014 00:44:52 +0000 (02:44 +0200)
src/supertux/menu/worldmap_menu.cpp

index f526ee4..cadb495 100644 (file)
@@ -43,6 +43,7 @@ WorldmapMenu::check_menu()
       break;
 
     case MNID_QUITWORLDMAP:
+      MenuManager::instance().clear_menu_stack();
       g_screen_manager->exit_screen();
       break;
   }