mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-22 06:43:03 +00:00
fix
This commit is contained in:
parent
4e697ff787
commit
67e3154b97
|
@ -120,8 +120,7 @@ function generateDaily()
|
|||
|
||||
-- no matter what time of day you run the daily, it'll be consistent throughout the day
|
||||
local date = os.date("*t", os.time())
|
||||
date = {year = date[year], month = date[month], day = date[day]}
|
||||
Randomizer.customseed = tostring(os.time(date))
|
||||
Randomizer.customseed = tostring(os.time({year=date.year, month=date.month, day=date.day}))
|
||||
|
||||
local seed = Randomizer:_seedRngesus()
|
||||
Randomizer:_updateSharecode(seed)
|
||||
|
|
Loading…
Reference in a new issue