Fix a mod storage bug
parent
b45f31a6c2
commit
81d6b8568b
|
@ -18,6 +18,7 @@ local astral_day_offset = mod_storage:get_int( "astral_day_offset" )
|
|||
if astral_day_offset == 0 then
|
||||
-- First time loading the mod, init it
|
||||
astral_day_offset = math.random( 1 , 10000 )
|
||||
mod_storage:set_int( "astral_day_offset", astral_day_offset )
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue