Skip to content

Commit

Permalink
Don't clear menu stack twice
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Aug 1, 2023
1 parent 9b8a475 commit c290e2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/supertux/menu/game_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ GameMenu::GameMenu() :

GameSession::current()->reset_checkpoint_button = true;
}),
abort_callback ( [] {
MenuManager::instance().clear_menu_stack();
abort_callback([] {
GameSession::current()->abort_level();
})
{
Expand Down

0 comments on commit c290e2a

Please sign in to comment.