mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-26 01:03:46 +01:00
Fix handling of media subfolders
This commit is contained in:
parent
fe9a55505b
commit
740be81f98
@ -33,7 +33,7 @@ local function collect_media(modname)
|
|||||||
for _, folderpath in pairs(folderpaths) do
|
for _, folderpath in pairs(folderpaths) do
|
||||||
local first = folderpath:sub(1, 1)
|
local first = folderpath:sub(1, 1)
|
||||||
if first ~= "_" and first ~= "." then
|
if first ~= "_" and first ~= "." then
|
||||||
traverse(folderpath)
|
traverse(modlib.mod.get_resource(modname, folderpath))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user