This commit is contained in:
duncathan 2020-03-13 03:31:02 -06:00
parent 4e697ff787
commit 67e3154b97

View file

@ -120,8 +120,7 @@ function generateDaily()
-- no matter what time of day you run the daily, it'll be consistent throughout the day -- no matter what time of day you run the daily, it'll be consistent throughout the day
local date = os.date("*t", os.time()) local date = os.date("*t", os.time())
date = {year = date[year], month = date[month], day = date[day]} Randomizer.customseed = tostring(os.time({year=date.year, month=date.month, day=date.day}))
Randomizer.customseed = tostring(os.time(date))
local seed = Randomizer:_seedRngesus() local seed = Randomizer:_seedRngesus()
Randomizer:_updateSharecode(seed) Randomizer:_updateSharecode(seed)