Oops
All checks were successful
Build / build (push) Successful in 1m37s
Build / build (pull_request) Successful in 53s

This commit is contained in:
Sainan 2025-04-25 09:33:07 +02:00
parent dd3126e13b
commit 26fdc466de

View File

@ -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({