Oops
This commit is contained in:
parent
dd3126e13b
commit
26fdc466de
@ -530,8 +530,8 @@ const getCalendarSeason = (week: number): ICalendarSeason => {
|
|||||||
do {
|
do {
|
||||||
challengeIndex = rng.randomInt(0, challenges.length - 1);
|
challengeIndex = rng.randomInt(0, challenges.length - 1);
|
||||||
challenge = challenges[challengeIndex];
|
challenge = challenges[challengeIndex];
|
||||||
challenges.splice(challengeIndex, 1);
|
|
||||||
} while (i < 2 && !challenge.endsWith("Easy")); // First 2 challenges should be easy
|
} while (i < 2 && !challenge.endsWith("Easy")); // First 2 challenges should be easy
|
||||||
|
challenges.splice(challengeIndex, 1);
|
||||||
|
|
||||||
//logger.debug(`challenge on day ${challengeDay}`);
|
//logger.debug(`challenge on day ${challengeDay}`);
|
||||||
eventDays.push({
|
eventDays.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user