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)
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue