From 59111cc8442f60246f4b197e9387c0934751b147 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Mon, 6 Apr 2020 19:05:18 +0200 Subject: [PATCH] Disable replay in patched save Ensure that the replay is disabled after the game is patched by calling game.disable_replay(). It's not possible to replay a patched save, and it also stores every command sent into save, causing it to quickly grow into an unplayably large size. --- modules/clusterio/impl.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/clusterio/impl.lua b/modules/clusterio/impl.lua index 3ae9593f..52303963 100644 --- a/modules/clusterio/impl.lua +++ b/modules/clusterio/impl.lua @@ -18,6 +18,9 @@ impl.events[api.events.on_server_startup] = function() instance_name = nil, } end + + -- Replay will just desync after the save is patched + game.disable_replay() end -- Internal API