From ee5e3bde7f9ea255ebcacb52e8e5333b6d3ac62a Mon Sep 17 00:00:00 2001 From: Ryan Ward Date: Sat, 30 May 2026 21:21:32 -0700 Subject: [PATCH] fixed int issue with lua 5.5 --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index dd0c1de..ae78ec8 100644 --- a/init.lua +++ b/init.lua @@ -2504,7 +2504,7 @@ function table.merge(t1, t2) return t1 end -math.randomseed(os.time()) +math.randomseed(math.floor(os.time())) function multi:enableLoadDetection() if multi.maxSpd then return end @@ -2811,7 +2811,7 @@ local function random_hex(len) end return result end -math.randomseed(os.time()) +math.randomseed(math.floor(os.time())) multi.generate_uuid7 = function() -- Get timestamp in milliseconds local timestamp_ms = get_timestamp_ms()