Skip to content

Commit db847ce

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

emigration.lua

Lines changed: 2 additions & 0 deletions
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)