fix: also increment LastCompletedDayIdx when completing a 1999 challenge #2256

Merged
Sainan merged 1 commits from cal-fix into main 2025-06-23 04:58:22 -07:00
Showing only changes of commit da5ffcd552 - Show all commits

View File

@ -622,6 +622,7 @@ export const addMissionInventoryUpdates = async (
const calendarProgress = getCalendarProgress(inventory);
for (const progress of value) {
const challengeName = progress.challenge.substring(progress.challenge.lastIndexOf("/") + 1);
calendarProgress.SeasonProgress.LastCompletedDayIdx++;
calendarProgress.SeasonProgress.LastCompletedChallengeDayIdx++;
calendarProgress.SeasonProgress.ActivatedChallenges.push(challengeName);
}