fix: some problems with 1999 calendar rotation #1829
@ -530,8 +530,8 @@ const getCalendarSeason = (week: number): ICalendarSeason => {
|
||||
do {
|
||||
challengeIndex = rng.randomInt(0, challenges.length - 1);
|
||||
challenge = challenges[challengeIndex];
|
||||
challenges.splice(challengeIndex, 1);
|
||||
} while (i < 2 && !challenge.endsWith("Easy")); // First 2 challenges should be easy
|
||||
challenges.splice(challengeIndex, 1);
|
||||
|
||||
//logger.debug(`challenge on day ${challengeDay}`);
|
||||
eventDays.push({
|
||||
|
Loading…
x
Reference in New Issue
Block a user