diff options
| author | 2021-05-07 02:09:13 +1000 | |
|---|---|---|
| committer | 2021-05-07 02:14:05 +1000 | |
| commit | fab84e8d2b9177e11d334a82892dc554d128052b (patch) | |
| tree | b7cbeb727891f6c09048f1f11f9dbe9576e348fe /plugins/autofire | |
| parent | 075d934ff422e6b03352d91877d4ec92fb218641 (diff) | |
Mostly revert "Create console history file in homepath (#8026)"
The change to make the console plugin work is preserved.
This reverts commit 25137717c9392d142650fcd679b09c400a2f5c4a.
Diffstat (limited to 'plugins/autofire')
| -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 |
