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

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

fix: Avoid repeatedly pushing the same "KahlSyndicate_xxx" into CompletedSyndicates (#4424)

Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4424 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: yhhkevin <235+yhhkevin@noreply.localhost> Co-committed-by: yhhkevin <235+yhhkevin@noreply.localhost>

9b85ba2e
yhhkevin <235+yhhkevin@noreply.localhost>
提交于

代码差异

1 个文件 +1 -1
Modified src/services/missionInventoryUpdateService.ts +1 -1
@@ -652,7 +652,7 @@ export const addMissionInventoryUpdates = async (
652 652 });
653 653 break;
654 654 case "SyndicateId": {
655 if (!inventory.syndicateMissionsRepeatable) {
655 if (!inventory.syndicateMissionsRepeatable && !inventory.CompletedSyndicates.includes(value)) {
656 656 inventory.CompletedSyndicates.push(value);
657 657 }
658 658 break;