forked from github/server
Die Sache mit dem LUA_PATH doch noch hinbekommen, und require benutzt.
Der Path ist mit ; separiert, nicht mit : - das war das Problem
This commit is contained in:
parent
da813f74d0
commit
e9e35c0e9e
|
@ -88,9 +88,7 @@ function process(orders)
|
||||||
-- Give out the rewards of the art contest
|
-- Give out the rewards of the art contest
|
||||||
if get_gamename() == "Eressea" then
|
if get_gamename() == "Eressea" then
|
||||||
if not get_flag("artr") then
|
if not get_flag("artr") then
|
||||||
chunk = loadfile("scripts/artrewards.lua")
|
require("artrewards.lua")
|
||||||
chunk()
|
|
||||||
set_flag("artr", true)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue