summaryrefslogtreecommitdiff
path: root/apps/plugins/boomshine.lua
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/boomshine.lua')
-rw-r--r--apps/plugins/boomshine.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/boomshine.lua b/apps/plugins/boomshine.lua
index 9c8b5599fe..74f7f2a831 100644
--- a/apps/plugins/boomshine.lua
+++ b/apps/plugins/boomshine.lua
@@ -274,7 +274,11 @@ while true do
274 end 274 end
275end 275end
276 276
277display_message(string.format("You made it till level %d with %d points!", idx, highscore)) 277if idx > #levels then
278 display_message(string.format("You finished the game with %d points!", highscore))
279else
280 display_message(string.format("You made it till level %d with %d points!", idx, highscore))
281end
278 282
279-- Restore user backlight settings 283-- Restore user backlight settings
280rb.backlight_use_settings() 284rb.backlight_use_settings()