Log mod load if log_mod is set to true

master
PilzAdam 2012-10-07 19:43:32 +02:00
parent 0c95121060
commit fb153cb8ac
1 changed files with 8 additions and 3 deletions

View File

@ -11,9 +11,10 @@ TRANSPORT_PLAYER = true
-- The name of the Soundfile
--=========
SOUND_FILES = {
{"carts_curved_rails", 2},
{"carts_railway_crossover", 2},
{"carts_straight_rails", 1},
--{"carts_curved_rails", 2},
--{"carts_railway_crossover", 2},
--{"carts_straight_rails", 1},
{"nothing", 100}
}
--=========
@ -850,3 +851,7 @@ dofile(minetest.get_modpath("carts").."/switches.lua")
dofile(minetest.get_modpath("carts").."/mesecons.lua")
dofile(minetest.get_modpath("carts").."/chest.lua")
dofile(minetest.get_modpath("carts").."/functions.lua")
if minetest.setting_get("log_mods") then
minetest.log("action", "carts loaded")
end