forked from github/server
f92df416ff
- empty factions have not seen any region, prevent the code from crashing in that case. - must load the rules even when only writing the reports (taxation affects guards?)
8 lines
248 B
Lua
8 lines
248 B
Lua
local path = 'scripts'
|
|
if config.install then
|
|
path = config.install .. '/' .. path
|
|
end
|
|
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
|
|
require 'eressea'
|
|
require 'eressea.xmlconf'
|
|
return require('eressea.rules')
|