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:
Enno Rehling 2004-05-21 19:34:00 +00:00
parent da813f74d0
commit e9e35c0e9e
1 changed files with 1 additions and 3 deletions

View File

@ -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