use new eressea module functions

This commit is contained in:
Enno Rehling 2012-06-17 02:54:05 +02:00
parent ecc03a7f2c
commit 3f2e46c008
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ function process(orders)
write_files(config.locales)
file = "" .. get_turn() .. ".dat"
if write_game(file, "binary")~=0 then
if eressea.write_game(file)~=0 then
print("could not write game")
return -1
end

View File

@ -55,7 +55,7 @@ function process(orders)
write_files(config.locales)
file = "" .. get_turn() .. ".dat"
if write_game(file, "binary")~=0 then
if eressea.write_game(file)~=0 then
print("could not write game")
return -1
end