server/scripts/eressea/xmlconf.lua

9 lines
217 B
Lua

local rules = 'conf'
if config.rules then
rules = rules .. '/' .. config.rules
assert(0 == eressea.config.read(rules .. '/config.json', config.install), "could not read JSON data")
end
eressea.game.reset()