XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -0
Modified src/services/missionInventoryUpdateService.ts +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 }