From 271b9966c1f11d0e44c39652ce647dc773ff341a Mon Sep 17 00:00:00 2001 From: Kenny Shields Date: Mon, 24 Feb 2014 17:26:18 -0500 Subject: [PATCH] Fix #110 --- libraries/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/util.lua b/libraries/util.lua index 15a35ac..0c297ad 100644 --- a/libraries/util.lua +++ b/libraries/util.lua @@ -157,7 +157,7 @@ function loveframes.util.GetDirectoryContents(dir, t) local extension = parts[#parts] parts[#parts] = nil 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