mirror of
https://github.com/appgurueu/modlib.git
synced 2025-02-17 00:32:35 +01:00
Fix handling of media subfolders
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user