summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapps/plugins/bubbles.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c
index 9ff9c9a2d2..7ff8b62554 100755
--- a/apps/plugins/bubbles.c
+++ b/apps/plugins/bubbles.c
@@ -2309,6 +2309,7 @@ static int bubbles_handlebuttons(struct game_context* bb, bool animblock,
2309 int timeout) { 2309 int timeout) {
2310 int button; 2310 int button;
2311 int buttonres; 2311 int buttonres;
2312 long start;
2312 2313
2313 button = rb->button_get_w_tmo(timeout); 2314 button = rb->button_get_w_tmo(timeout);
2314 switch(button){ 2315 switch(button){
@@ -2337,8 +2338,10 @@ static int bubbles_handlebuttons(struct game_context* bb, bool animblock,
2337 break; 2338 break;
2338 2339
2339 case BUBBLES_START: /* pause the game */ 2340 case BUBBLES_START: /* pause the game */
2341 start = *rb->current_tick;
2340 rb->splash(1, true, "Paused"); 2342 rb->splash(1, true, "Paused");
2341 while(rb->button_get(true) != (BUBBLES_START)); 2343 while(rb->button_get(true) != (BUBBLES_START));
2344 bb->startedshot += *rb->current_tick-start;
2342 bubbles_drawboard(bb); 2345 bubbles_drawboard(bb);
2343 rb->lcd_update(); 2346 rb->lcd_update();
2344 break; 2347 break;