diff options
author | Juraj Vajda <juraj.vajda@rituals.com> | 2017-12-10 22:39:28 -0500 |
---|---|---|
committer | Juraj Vajda <juraj.vajda@rituals.com> | 2017-12-10 22:39:28 -0500 |
commit | ca4b20ddcc5bf55115c16760af76db023c1d86f3 (patch) | |
tree | 7c26bcfcef007d23c5918d18b3f959d8856ec7c1 | |
parent | d4e9de50a98544923be71f5be49139ed25e52cfc (diff) |
-rw-r--r-- | init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,9 +9,9 @@ end local previous = os.time() -local default_size = tonumber(minetest.setting_get("mapfix_default_size")) or 24 -local max_size = tonumber(minetest.setting_get("mapfix_max_size")) or 32 -local delay = tonumber(minetest.setting_get("mapfix_delay")) or 15 +local default_size = tonumber(minetest.settings:get("mapfix_default_size")) or 24 +local max_size = tonumber(minetest.settings:get("mapfix_max_size")) or 32 +local delay = tonumber(minetest.settings:get("mapfix_delay")) or 15 minetest.register_chatcommand("mapfix", { params = "<size>", |