server/src/scripts/test-df.lua
Enno Rehling 41e989a713 - Skript zum testen eines Datenfiles (laden und exit)
Starten mit eressea-lue -e test-df.lua -s file=<filename>
2004-02-21 22:43:39 +00:00

7 lines
158 B
Lua

-- start eressea-server with -s file=<filename>
-- where <filename> is relative to datapath()
if read_game(file)~=0 then
print("could not read game")
end