diff options
author | 2019-05-30 11:31:57 -0700 | |
---|---|---|
committer | 2019-05-30 14:31:57 -0400 | |
commit | 2da86cda04731e3aa4e59b1ee0c7ff73929897aa (patch) | |
tree | bde46a1bc60a3f6762149ea1b52989334592aadb /plugins/autofire/init.lua | |
parent | a94e08d1d1c2e446d9f96c69b00815e0685444fc (diff) |
Change autofire config directory to homepath (#5129)
* Revert "Used set_folder to avoid hardcoding plugin name in settings path"
This reverts commit 76884986fd8630f81cfc838aa42f264fdcec2ea9.
* Changed autofire config directory to homepath
* Bumped autofire plugin version
Diffstat (limited to 'plugins/autofire/init.lua')
-rw-r--r-- | plugins/autofire/init.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/autofire/init.lua b/plugins/autofire/init.lua index 5b52e47d350..1eb8627b494 100644 --- a/plugins/autofire/init.lua +++ b/plugins/autofire/init.lua @@ -2,20 +2,13 @@ -- copyright-holders:Jack Li local exports = {} exports.name = 'autofire' -exports.version = '0.0.2' +exports.version = '0.0.3' exports.description = 'Autofire plugin' exports.license = 'The BSD 3-Clause License' exports.author = { name = 'Jack Li' } local autofire = exports -function autofire.set_folder(path) - local loader = require('autofire/autofire_save') - if loader then - loader:set_plugin_path(path) - end -end - function autofire.startplugin() -- List of autofire buttons, each being a table with keys: |