From afe6573b1853986f7e009ce7aeb248ccc4468481 Mon Sep 17 00:00:00 2001 From: Justin van der Leij Date: Fri, 6 Apr 2018 23:46:37 +0200 Subject: [PATCH] Made the library loading passtrough work properly --- concord/init.lua | 1 - init.lua | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/concord/init.lua b/concord/init.lua index 2b9126a..fe40f14 100644 --- a/concord/init.lua +++ b/concord/init.lua @@ -7,7 +7,6 @@ local Concord = {} -- useEvents Flag to overwrite love.run and use events. Defaults to false -- } -- @return Concord -} function Concord.init(settings) Concord.entity = require(PATH..".entity") Concord.component = require(PATH..".component") diff --git a/init.lua b/init.lua index c9b1b9c..2a73dea 100644 --- a/init.lua +++ b/init.lua @@ -1 +1,3 @@ -return require("concord") \ No newline at end of file +local PATH = (...):gsub('%.init$', '') + +return require(PATH..".concord") \ No newline at end of file