diff options
Diffstat (limited to 'plugins/timer')
-rw-r--r-- | plugins/timer/init.lua | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/timer/init.lua b/plugins/timer/init.lua index f0ddabbcf50..07b3e20162b 100644 --- a/plugins/timer/init.lua +++ b/plugins/timer/init.lua @@ -91,16 +91,13 @@ function timer.startplugin() local function menu_populate() local time = os.time() - start_time - return {{ _("Current time"), "", "off" }, - { sectohms(time), "", "off" }, - { _("Total time"), "", "off" }, - { sectohms(total_time + time), "", "off" }, - { _("Play Count"), "", "off" }, - { play_count, "", "off" }} + return {{ _("Current time"), sectohms(time), "off" }, + { _("Total time"), sectohms(total_time + time), "off" }, + { _("Play Count"), play_count, "off" }} end local function menu_callback(index, event) - return true + return false end emu.register_menu(menu_callback, menu_populate, _("Timer")) |