forked from len0rd/rockbox
Boomshine plugin : Better messages at the end of the game (fixes the nblevel+1 being displayed)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23394 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0aa035d73e
commit
c8f9f9cef8
1 changed files with 5 additions and 1 deletions
|
|
@ -274,7 +274,11 @@ while true do
|
|||
end
|
||||
end
|
||||
|
||||
if idx > #levels then
|
||||
display_message(string.format("You finished the game with %d points!", highscore))
|
||||
else
|
||||
display_message(string.format("You made it till level %d with %d points!", idx, highscore))
|
||||
end
|
||||
|
||||
-- Restore user backlight settings
|
||||
rb.backlight_use_settings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue