返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+1
-0
XFEstudio/XFESpaceNinjaServer
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>
271f5bd4
代码差异
1 个文件
+1
-0
@@ -622,6 +622,7 @@ export const addMissionInventoryUpdates = async (
622
622
const calendarProgress = getCalendarProgress(inventory);
623
623
for (const progress of value) {
624
624
const challengeName = progress.challenge.substring(progress.challenge.lastIndexOf("/") + 1);
625
calendarProgress.SeasonProgress.LastCompletedDayIdx++;
625
626
calendarProgress.SeasonProgress.LastCompletedChallengeDayIdx++;
626
627
calendarProgress.SeasonProgress.ActivatedChallenges.push(challengeName);
627
628
}