fix: properly cap negative syndicate standing #2393

Merged
Sainan merged 2 commits from fix-cap into main 2025-07-03 11:08:58 -07:00
Showing only changes of commit ef6e60fd11 - Show all commits

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;
}