Click-hold to exit Invaders, fix Brickout compile

This commit is contained in:
Scott Lahteine
2019-04-04 17:07:38 -05:00
parent 240ea1bbb3
commit 83e214478e
6 changed files with 18 additions and 9 deletions

View File

@@ -322,7 +322,7 @@ void SnakeGame::game_screen() {
if (!game_state) draw_game_over();
// A click always exits this game
if (ui.use_click()) ui.goto_previous_screen();
if (ui.use_click()) exit_game();
}
void SnakeGame::enter_game() {