From 2dd967aeb02d95fa0edad61e79b99a8e34465fc8 Mon Sep 17 00:00:00 2001 From: master-spike Date: Sun, 27 Oct 2024 06:14:17 +0000 Subject: [PATCH] `emigration`: persists last cycle tick so that the behaviour is more consistent with respect to save-and-reloads --- emigration.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emigration.lua b/emigration.lua index 23f1c9cb1..1d1dea305 100644 --- a/emigration.lua +++ b/emigration.lua @@ -1,6 +1,8 @@ --@module = true --@enable = true +local utils = require('utils') + local GLOBAL_KEY = 'emigration' -- used for state change hooks and persistence local function get_default_state()