返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+1
-1
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
代码差异
1 个文件
+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;