summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-07-21 00:13:45 -0400
committerShadowNinja <shadowninja@minetest.net>2014-07-21 00:13:45 -0400
commit37c06a91107965a27b1fc02f5f9a646891cc75be (patch)
tree09f2e3a6abd23357f7d421cf0168c1248fbe6638
parent22a4bcf80d46d89c1b08a370ef54b5120a70ba9d (diff)
log_mod -> log_mods and get setting as boolean
-rw-r--r--technic/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/init.lua b/technic/init.lua
index 7d41b89..2349029 100644
--- a/technic/init.lua
+++ b/technic/init.lua
@@ -40,7 +40,7 @@ dofile(modpath.."/tools/init.lua")
-- Aliases for legacy node/item names
dofile(modpath.."/legacy.lua")
-if minetest.setting_get("log_mod") then
+if minetest.setting_getbool("log_mods") then
print(S("[Technic] Loaded in %f seconds"):format(os.clock() - load_start))
end