This commit is contained in:
Kenny Shields 2014-02-24 17:26:18 -05:00
parent a98c82755e
commit 271b9966c1

View File

@ -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