fix: always apply negative standing cap
All checks were successful
Build / build (pull_request) Successful in 45s

This commit is contained in:
Sainan 2025-07-02 23:25:33 +02:00
parent 8c85cdcd1d
commit ef6e60fd11

View File

@ -1266,7 +1266,7 @@ export const addStanding = (
const max = getMaxStanding(syndicateMeta, syndicate.Title ?? 0);
if (syndicate.Standing + gainedStanding > max) gainedStanding = max - syndicate.Standing;
if (syndicate.Title == -2 && syndicate.Standing + gainedStanding < -71000) {
if (syndicate.Standing + gainedStanding < -71000) {
gainedStanding = -71000 + syndicate.Standing;
}