diff options
Diffstat (limited to 'u_skins/meta.lua')
-rw-r--r-- | u_skins/meta.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/u_skins/meta.lua b/u_skins/meta.lua deleted file mode 100644 index 350dbe8..0000000 --- a/u_skins/meta.lua +++ /dev/null @@ -1,15 +0,0 @@ -u_skins.meta = {} -for _, i in ipairs(u_skins.list) do - u_skins.meta[i] = {} - local f = io.open(u_skins.modpath.."/meta/"..i..".txt") - local data = nil - if f then - data = minetest.deserialize("return {"..f:read('*all').."}") - f:close() - end - data = data or {} - u_skins.meta[i].name = data.name or "" - u_skins.meta[i].author = data.author or "" - u_skins.meta[i].description = data.description or nil - u_skins.meta[i].comment = data.comment or nil -end |