server/game-e2/setup.lua
Enno Rehling bef560d92a Fix xml catalog references for E2 and E3.
Fix a bug in the new get_arg function.
2013-12-27 01:54:02 +01:00

15 lines
337 B
Lua

local srcpath = config.source_dir
local respath = srcpath .. '/res'
local paths = {
'scripts/?.lua',
'core/scripts/?.lua',
'lunit/?.lua'
}
for idx, path in pairs(paths) do
package.path = srcpath .. '/' .. path .. ';' .. package.path
end
read_xml(respath..'/config-eressea.xml', respath..'/catalog-eressea.xml')
require "init"