diff options
Diffstat (limited to 'plugins/autofire/autofire_save.lua')
-rw-r--r-- | plugins/autofire/autofire_save.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/autofire/autofire_save.lua b/plugins/autofire/autofire_save.lua index 3c6f177ff13..0576a95582d 100644 --- a/plugins/autofire/autofire_save.lua +++ b/plugins/autofire/autofire_save.lua @@ -1,4 +1,3 @@ -local util = require("util") local lib = {} local function get_settings_path() @@ -71,7 +70,7 @@ function lib:save_settings(buttons) local path = get_settings_path() local attr = lfs.attributes(path) if not attr then - util.mkdir_recursive(path) + lfs.mkdir(path) elseif attr.mode ~= 'directory' then return end |