The fix is to edit the control file so instead of
function getRandomTick()
if not randomTickValue then
randomTickValue = math.random(2, 59)
end
return randomTickValue
end
it says
function getRandomTick()
if not randomTickValue then
local rng = game.create_random_generator()
randomTickValue = rng(2, 59)
end
return randomTickValue
end