From 0306aef39bc96bb2ef487ec615f664e824d40b94 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Sun, 7 Oct 2012 19:36:30 +0200 Subject: [PATCH] Log mod load if log_mod is set to true --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index a2cf43e..a6e1d64 100644 --- a/init.lua +++ b/init.lua @@ -278,3 +278,7 @@ if minetest.get_modpath("mesecons") ~= nil then end) end + +if minetest.setting_get("log_mods") then + minetest.log("action", "tnt loaded") +end