summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-07-18 19:09:28 +0200
committerroot <root@linux-forks.de>2018-07-18 19:09:28 +0200
commit630b9f9bf4c15036b8eb1b408ca1a50930404bd7 (patch)
tree34331f54e2cb6f9d397bfb87e50c59596759bb13 /init.lua
parent31be6711333e5006816caaa1b6df968d834449d2 (diff)
parent289d0e623c1d383f26cbc57c94ce9a8a184bf525 (diff)
Merge branch 'master' of https://github.com/ShadowNinja/areasHEADmaster
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