Skip to content

Commit

Permalink
Fix unsupported ingame epoch calls in random.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
migeyel authored May 19, 2024
1 parent fd0d1d2 commit d1efd74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ccryptolib/random.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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({}),
Expand Down

0 comments on commit d1efd74

Please sign in to comment.