diff options
author | 2020-12-27 01:32:37 +1100 | |
---|---|---|
committer | 2020-12-27 01:32:37 +1100 | |
commit | 9e36b6a6d951ea6f2d72cab874c3c8e72d001001 (patch) | |
tree | c41bfd0c1b499d790c4091eb266caf6955219fc1 /plugins/timer | |
parent | 509c946736b5f02cac84d19f2cde4e966d637a2c (diff) |
More Lua interface cleanup - it's simpler with cleaner underlyng APIs.
Made the sound manager mute controls readable, and got rid of system
enable since it just controls system mute anyway. This was causing
confusion: phantom2 was trying to use both independentlyt casuing the
mute bit to be ignored.
THe Lua interface changes are mostly changing methods to properties,
some renames to make things clearer, and some additional properties for
better control over snapshots.
Diffstat (limited to 'plugins/timer')
-rw-r--r-- | plugins/timer/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/timer/init.lua b/plugins/timer/init.lua index 95601ac67f3..f0ddabbcf50 100644 --- a/plugins/timer/init.lua +++ b/plugins/timer/init.lua @@ -12,7 +12,7 @@ exports.author = { name = "Carl" } local timer = exports function timer.startplugin() - local dir = emu.subst_env(manager:options().entries.homepath:value()) + local dir = emu.subst_env(manager.options.entries.homepath:value()) local timer_db = dir .. "/timer/timer.db" local timer_started = false local total_time = 0 |