Fix conf loading

This commit is contained in:
Lars Mueller 2020-12-22 11:09:45 +01:00
parent de3f79d5b1
commit f39596efb6

@ -82,7 +82,7 @@ function configuration(modname)
check_type(value)
return value
end},
{extension = "conf", read = function(text) return Settings(text):to_table() end, convert_strings = true},
{extension = "conf", read = function(text) return modlib.conf.build_setting_tree(Settings(text):to_table()) end, convert_strings = true},
{extension = "json", read = minetest.parse_json}
} do
local content = modlib.file.read(path .. "." .. format.extension)