Fix handling of media subfolders

This commit is contained in:
Lars Mueller 2021-09-21 10:03:24 +02:00
parent fe9a55505b
commit 740be81f98

@ -33,7 +33,7 @@ local function collect_media(modname)
for _, folderpath in pairs(folderpaths) do
local first = folderpath:sub(1, 1)
if first ~= "_" and first ~= "." then
traverse(folderpath)
traverse(modlib.mod.get_resource(modname, folderpath))
end
end
end