diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/bubbles.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index 76affa270b..2f7ead8d82 100644 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c | |||
@@ -2369,7 +2369,7 @@ static int bubbles_menu_cb(int action, const struct menu_item_ex *this_item) | |||
2369 | { | 2369 | { |
2370 | int i = ((intptr_t)this_item); | 2370 | int i = ((intptr_t)this_item); |
2371 | if(action == ACTION_REQUEST_MENUITEM | 2371 | if(action == ACTION_REQUEST_MENUITEM |
2372 | && !resume && (i==0 || i==5)) | 2372 | && !resume && (i==0)) |
2373 | return ACTION_EXIT_MENUITEM; | 2373 | return ACTION_EXIT_MENUITEM; |
2374 | return action; | 2374 | return action; |
2375 | } | 2375 | } |
@@ -2537,8 +2537,10 @@ enum plugin_status plugin_start(const void* parameter) { | |||
2537 | break; | 2537 | break; |
2538 | 2538 | ||
2539 | case BB_QUIT: | 2539 | case BB_QUIT: |
2540 | rb->splash(HZ*1, "Saving game ..."); | 2540 | rb->splash(HZ/3, "Saving game ..."); |
2541 | bubbles_savegame(&bb); | 2541 | bubbles_savegame(&bb); |
2542 | bubbles_savedata(); | ||
2543 | highscore_save(SCORE_FILE, highscores, NUM_SCORES); | ||
2542 | /* fall through */ | 2544 | /* fall through */ |
2543 | 2545 | ||
2544 | case BB_QUIT_WITHOUT_SAVING: | 2546 | case BB_QUIT_WITHOUT_SAVING: |
@@ -2549,8 +2551,6 @@ enum plugin_status plugin_start(const void* parameter) { | |||
2549 | break; | 2551 | break; |
2550 | } | 2552 | } |
2551 | } | 2553 | } |
2552 | bubbles_savedata(); | ||
2553 | highscore_save(SCORE_FILE, highscores, NUM_SCORES); | ||
2554 | rb->lcd_setfont(FONT_UI); | 2554 | rb->lcd_setfont(FONT_UI); |
2555 | return ret; | 2555 | return ret; |
2556 | } | 2556 | } |