summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/autofire
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/autofire
parent6082c57817462f56ca4bfdfd1908c4498677c4b9 (diff)
plugins: Replace environment variable substitution function with core version
Diffstat (limited to 'plugins/autofire')
-rw-r--r--plugins/autofire/autofire_save.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/autofire/autofire_save.lua b/plugins/autofire/autofire_save.lua
index 543b36ec7c8..07c4032b434 100644
--- a/plugins/autofire/autofire_save.lua
+++ b/plugins/autofire/autofire_save.lua
@@ -1,7 +1,7 @@
local lib = {}
local function get_settings_path()
- return lfs.env_replace(manager:machine():options().entries.homepath:value():match('([^;]+)')) .. '/autofire/'
+ return emu.subst_env(manager:machine():options().entries.homepath:value():match('([^;]+)')) .. '/autofire/'
end
local function get_settings_filename()