diff options
Diffstat (limited to 'apps/plugins/boomshine.lua')
-rw-r--r-- | apps/plugins/boomshine.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/boomshine.lua b/apps/plugins/boomshine.lua index 2eb43dedbd..79b28c6776 100644 --- a/apps/plugins/boomshine.lua +++ b/apps/plugins/boomshine.lua | |||
@@ -353,6 +353,8 @@ if HAS_TOUCHSCREEN then | |||
353 | end | 353 | end |
354 | rb.backlight_force_on() | 354 | rb.backlight_force_on() |
355 | 355 | ||
356 | math.randomseed(os.time()) | ||
357 | |||
356 | local idx, highscore = 1, 0 | 358 | local idx, highscore = 1, 0 |
357 | while levels[idx] ~= nil do | 359 | while levels[idx] ~= nil do |
358 | local goal, nrBalls = levels[idx][1], levels[idx][2] | 360 | local goal, nrBalls = levels[idx][1], levels[idx][2] |