diff options
Diffstat (limited to 'apps/plugins/bubbles.c')
-rwxr-xr-x | apps/plugins/bubbles.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index 196587a9d9..45105feaf6 100755 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c | |||
@@ -2693,7 +2693,13 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { | |||
2693 | char str[19]; | 2693 | char str[19]; |
2694 | case BB_WIN: | 2694 | case BB_WIN: |
2695 | rb->splash(HZ*2, true, "You Win!"); | 2695 | rb->splash(HZ*2, true, "You Win!"); |
2696 | /* record high level */ | ||
2697 | if(bb.level-1 > bb.highlevel) { | ||
2698 | bb.highlevel = bb.level-1; | ||
2699 | bb.dirty = true; | ||
2700 | } | ||
2696 | 2701 | ||
2702 | /* record high score */ | ||
2697 | if((position = bubbles_recordscore(&bb))) { | 2703 | if((position = bubbles_recordscore(&bb))) { |
2698 | rb->snprintf(str, 19, "New high score #%d!", position); | 2704 | rb->snprintf(str, 19, "New high score #%d!", position); |
2699 | rb->splash(HZ*2, true, str); | 2705 | rb->splash(HZ*2, true, str); |