Permalink
Browse files

get all mode transistions in one place

  • Loading branch information...
1 parent bc3a7d4 commit c33d7ce97e830f52d2b1f33713d0c31d64ce305c @beerriot committed Feb 27, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −0 blockgame.c
  2. +0 −3 src/bggame.c
View
@@ -40,6 +40,8 @@ int main() {
bgmenu_display(&game);
bggame_play(&game);
bggame_over(game.score);
+ bghighscore_maybe(game.score);
+ bghighscore_screen();
}
return 0;
View
@@ -351,7 +351,4 @@ void bggame_over(uint16_t score) {
lcd_write_string(PSTR("score: "));
lcd_write_int16(score);
nktimer_simple_delay(300);
-
- bghighscore_maybe(score);
- bghighscore_screen();
}

0 comments on commit c33d7ce

Please sign in to comment.