From 271f5bd47ac6260353ee9390a4a19e346e4b51d2 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 23 Jun 2025 04:58:21 -0700 Subject: [PATCH] fix: also increment LastCompletedDayIdx when completing a 1999 challenge (#2256) Fixes #2255 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2256 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/services/missionInventoryUpdateService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/missionInventoryUpdateService.ts b/src/services/missionInventoryUpdateService.ts index 0636e0cb..7ee1b3c5 100644 --- a/src/services/missionInventoryUpdateService.ts +++ b/src/services/missionInventoryUpdateService.ts @@ -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); }