server/scripts/eressea/path.lua
2014-08-07 13:23:11 +02:00

6 lines
210 B
Lua

if config.paths ~= nil then
for path in string.gmatch(config.paths, "([^:]+)") do
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
end
end
-- print(package.path)