fix: also increment LastCompletedDayIdx when completing a 1999 challenge
All checks were successful
Build / build (pull_request) Successful in 1m1s
All checks were successful
Build / build (pull_request) Successful in 1m1s
This commit is contained in:
parent
cee622d5e9
commit
da5ffcd552
@ -622,6 +622,7 @@ export const addMissionInventoryUpdates = async (
|
|||||||
const calendarProgress = getCalendarProgress(inventory);
|
const calendarProgress = getCalendarProgress(inventory);
|
||||||
for (const progress of value) {
|
for (const progress of value) {
|
||||||
const challengeName = progress.challenge.substring(progress.challenge.lastIndexOf("/") + 1);
|
const challengeName = progress.challenge.substring(progress.challenge.lastIndexOf("/") + 1);
|
||||||
|
calendarProgress.SeasonProgress.LastCompletedDayIdx++;
|
||||||
calendarProgress.SeasonProgress.LastCompletedChallengeDayIdx++;
|
calendarProgress.SeasonProgress.LastCompletedChallengeDayIdx++;
|
||||||
calendarProgress.SeasonProgress.ActivatedChallenges.push(challengeName);
|
calendarProgress.SeasonProgress.ActivatedChallenges.push(challengeName);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user