summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAntumDeluge <antumdeluge@gmail.com>2017-05-13 01:59:30 -0700
committerShadowNinja <shadowninja@minetest.net>2017-06-09 13:00:12 -0400
commit289d0e623c1d383f26cbc57c94ce9a8a184bf525 (patch)
tree6a5b9b0055daa55339de2d4317e8be201d8640d4 /init.lua
parentd3d43d951154fb2b9e30186f7a1e52bd05ae6d80 (diff)
Update usage of settings APIorigin/masterorigin/HEAD
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 2c10cdd..d1b7ebe 100644
--- a/init.lua
+++ b/init.lua
@@ -32,7 +32,7 @@ if not minetest.registered_privileges[areas.config.self_protection_privilege] th
})
end
-if minetest.setting_getbool("log_mod") then
+if minetest.settings:get_bool("log_mod") then
local diffTime = os.clock() - areas.startTime
minetest.log("action", "areas loaded in "..diffTime.."s.")
end