server/scripts/eressea/path.lua
2020-05-01 17:23:00 +02:00

5 lines
187 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