mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2025-05-06 06:54:25 +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
|
-- 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)
|
||||||
|
|
Loading…
Reference in a new issue