mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Fix #110
This commit is contained in:
parent
a98c82755e
commit
271b9966c1
@ -157,7 +157,7 @@ function loveframes.util.GetDirectoryContents(dir, t)
|
|||||||
local extension = parts[#parts]
|
local extension = parts[#parts]
|
||||||
parts[#parts] = nil
|
parts[#parts] = nil
|
||||||
local name = table.concat(parts)
|
local name = table.concat(parts)
|
||||||
table.insert(t, {path = dir, fullpath = dir.. "/" ..v, requirepath = dir .. "." ..name, name = name, extension = extension})
|
table.insert(t, {path = dir, fullpath = dir.. "/" ..v, requirepath = dir:gsub("/", ".") .. "." ..name, name = name, extension = extension})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user