summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/bubbles.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c
index ebf2051f1c..697f690458 100644
--- a/apps/plugins/bubbles.c
+++ b/apps/plugins/bubbles.c
@@ -2231,8 +2231,6 @@ static bool bubbles_loadgame(struct game_context* bb) {
2231 2231
2232 rb->close(fd); 2232 rb->close(fd);
2233 2233
2234 /* delete saved file */
2235 rb->remove(SAVE_FILE);
2236 return ret; 2234 return ret;
2237} 2235}
2238 2236
@@ -2378,14 +2376,12 @@ static int bubbles_menu(struct game_context* bb) {
2378 { 2376 {
2379 case 0: /* resume game */ 2377 case 0: /* resume game */
2380 if (!resume) 2378 if (!resume)
2381 {
2382 rb->splash(HZ/2, "Nothing to resume"); 2379 rb->splash(HZ/2, "Nothing to resume");
2383 break;
2384 }
2385 else 2380 else
2386 {
2387 startgame = true; 2381 startgame = true;
2388 } 2382
2383 if(rb->file_exists(SAVE_FILE))
2384 rb->remove(SAVE_FILE);
2389 break; 2385 break;
2390 case 1: /* new game */ 2386 case 1: /* new game */
2391 bb->level = startlevel; 2387 bb->level = startlevel;