forked from github/server
use new eressea module functions
This commit is contained in:
parent
ecc03a7f2c
commit
3f2e46c008
|
@ -57,7 +57,7 @@ function process(orders)
|
||||||
write_files(config.locales)
|
write_files(config.locales)
|
||||||
|
|
||||||
file = "" .. get_turn() .. ".dat"
|
file = "" .. get_turn() .. ".dat"
|
||||||
if write_game(file, "binary")~=0 then
|
if eressea.write_game(file)~=0 then
|
||||||
print("could not write game")
|
print("could not write game")
|
||||||
return -1
|
return -1
|
||||||
end
|
end
|
||||||
|
|
|
@ -55,7 +55,7 @@ function process(orders)
|
||||||
write_files(config.locales)
|
write_files(config.locales)
|
||||||
|
|
||||||
file = "" .. get_turn() .. ".dat"
|
file = "" .. get_turn() .. ".dat"
|
||||||
if write_game(file, "binary")~=0 then
|
if eressea.write_game(file)~=0 then
|
||||||
print("could not write game")
|
print("could not write game")
|
||||||
return -1
|
return -1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue