返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+2
-2
XFEstudio/SpaceNinjaServer
fix: duplicating riven mods with active challenge (#3069)
Regressed when legacy mods support was added. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3069 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
17b40a10
代码差异
1 个文件
+2
-2
@@ -492,8 +492,8 @@ export const addMissionInventoryUpdates = async (
492
492
)}}`;
493
493
}
494
494
// Handle Fusion Core drops
495
const parsedFingerprint = JSON.parse(clientUpgrade.UpgradeFingerprint) as { lvl: number };
496
if (parsedFingerprint.lvl != 0) {
495
const parsedFingerprint = JSON.parse(clientUpgrade.UpgradeFingerprint) as { lvl?: number };
496
if (parsedFingerprint.lvl) {
497
497
inventory.Upgrades.push({
498
498
ItemType: clientUpgrade.ItemType,
499
499
UpgradeFingerprint: clientUpgrade.UpgradeFingerprint