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