diff --git a/scripts/arda/main.lua b/scripts/arda/main.lua index c58fd654d..b9a146af3 100644 --- a/scripts/arda/main.lua +++ b/scripts/arda/main.lua @@ -42,7 +42,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