summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/timer
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-12-08 09:44:32 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-12-08 09:44:32 -0500
commite70d4ebb34be2bfbd9e93cf862d8d4d68ddf37cb (patch)
treea83af7d1cc8e19b49f1a82ede6dc346a548cef1f /plugins/timer
parent6082c57817462f56ca4bfdfd1908c4498677c4b9 (diff)
plugins: Replace environment variable substitution function with core version
Diffstat (limited to 'plugins/timer')
-rw-r--r--plugins/timer/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/timer/init.lua b/plugins/timer/init.lua
index 56ccd6b39ed..95601ac67f3 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 = lfs.env_replace(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