diff reduction
All checks were successful
Build / build (pull_request) Successful in 1m12s

This commit is contained in:
Sainan 2025-06-11 14:28:54 +02:00
parent 4b75dbbadf
commit c41f1ff53e

View File

@ -1773,11 +1773,8 @@ export const addChallenges = (
];
}
let standingToAdd = meta.standing ?? 0;
if (standingToAdd >= 0) {
standingToAdd *= config.nightwaveStandingMultiplier ?? 1;
const standingToAdd = meta.standing! * (config.nightwaveStandingMultiplier ?? 1);
affiliation.Standing += standingToAdd;
if (affiliationMods.length == 0) {
affiliationMods.push({ Tag: nightwaveSyndicateTag });
}
@ -1786,7 +1783,6 @@ export const addChallenges = (
}
}
}
}
return affiliationMods;
};