diff --git a/Basalt/init.lua b/Basalt/init.lua index b005b2e..cfb92d5 100644 --- a/Basalt/init.lua +++ b/Basalt/init.lua @@ -1,7 +1,7 @@ local curDir = fs.getDir(table.pack(...)[2]) or "" +local defaultPath = package.path if not(packed)then - local defaultPath = package.path local format = "path;/path/?.lua;/path/?/init.lua;" local main = format:gsub("path", curDir) @@ -14,4 +14,4 @@ end local Basalt = require("main") package.path = defaultPath -return Basalt \ No newline at end of file +return Basalt