Skip to content

Commit 2dd967a

Browse files
committed
emigration: persists last cycle tick so that the behaviour is more consistent with respect to save-and-reloads
1 parent 42a8ac3 commit 2dd967a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

emigration.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--@module = true
22
--@enable = true
33

4+
local utils = require('utils')
5+
46
local GLOBAL_KEY = 'emigration' -- used for state change hooks and persistence
57

68
local function get_default_state()

0 commit comments

Comments
 (0)