Skip to content

Commit

Permalink
bugfix: missing menu options
Browse files Browse the repository at this point in the history
  • Loading branch information
Billocap committed Feb 3, 2024
1 parent e5df70f commit 90c48b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ namespace std
this->game->finished = true;
this->game->won = event->won;

this->game->get_menu("main")->remove_option(0);
auto main_menu = this->game->get_menu("main");

if (main_menu->options[0]->label == "Continue")
main_menu->remove_option(0);
}

// #endregion Events
Expand Down
1 change: 1 addition & 0 deletions save
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
          

0 comments on commit 90c48b4

Please sign in to comment.