Remove debug error printing from ctf_map
This commit is contained in:
parent
29927d8d01
commit
2bf00d37b6
1 changed files with 0 additions and 3 deletions
|
@ -74,8 +74,6 @@ local function search_for_maps()
|
||||||
local val = minetest.settings:get("ctf.maps." .. key:gsub("%./", ""):gsub("/", "."))
|
local val = minetest.settings:get("ctf.maps." .. key:gsub("%./", ""):gsub("/", "."))
|
||||||
if not conf:get_bool("disabled", false) and val ~= "false" then
|
if not conf:get_bool("disabled", false) and val ~= "false" then
|
||||||
table.insert(ctf_map.available_maps, key)
|
table.insert(ctf_map.available_maps, key)
|
||||||
else
|
|
||||||
minetest.log("error", key .. " disabled!")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if next(ctf_map.available_maps) == nil then
|
if next(ctf_map.available_maps) == nil then
|
||||||
|
@ -83,7 +81,6 @@ local function search_for_maps()
|
||||||
end
|
end
|
||||||
return ctf_map.available_maps
|
return ctf_map.available_maps
|
||||||
end
|
end
|
||||||
print(dump(search_for_maps()))
|
|
||||||
|
|
||||||
minetest.register_chatcommand("maps_reload", {
|
minetest.register_chatcommand("maps_reload", {
|
||||||
privs = { ctf_admin = true },
|
privs = { ctf_admin = true },
|
||||||
|
|
Loading…
Reference in a new issue