From d1efd74ad793869cef12991b7465f02066d11389 Mon Sep 17 00:00:00 2001 From: Miguel Oliveira <41488876+migeyel@users.noreply.github.com> Date: Sun, 19 May 2024 12:24:33 -0300 Subject: [PATCH] Fix unsupported ingame epoch calls in random.lua --- ccryptolib/random.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccryptolib/random.lua b/ccryptolib/random.lua index 92eb180..29bcea4 100644 --- a/ccryptolib/random.lua +++ b/ccryptolib/random.lua @@ -9,7 +9,8 @@ local lassert = util.lassert local ctx = { "ccryptolib 2023-04-11T19:43Z random.lua initialization context", os.epoch("utc"), - os.epoch("ingame"), + os.day(), + os.time(), math.random(0, 2 ^ 24 - 1), math.random(0, 2 ^ 24 - 1), tostring({}),