forked from github/server
Accidentally deleted initial path logic.
This code is important for bootstrapping the LUA_PATH
This commit is contained in:
parent
f0ac736bd1
commit
206e0a2fc5
|
@ -182,6 +182,11 @@ function run_turn(rules)
|
|||
return result
|
||||
end
|
||||
|
||||
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' -- read xml data
|
||||
|
||||
|
|
Loading…
Reference in New Issue