cheat: gainNoNegativeSyndicateStanding (2)

fixed title decrease
This commit is contained in:
AlexisinGit 2025-09-03 14:05:47 +08:00
parent 8aaaecf8ed
commit 8233cf91a2

View File

@ -2184,6 +2184,7 @@ export const updateSyndicate = (
if (syndicate !== undefined) {
if (inventory.gainNoNegativeSyndicateStanding) {
affiliation.Standing = Math.max(0, affiliation.Standing);
affiliation.Title = Math.max(0, affiliation.Title);
}
syndicate.Standing += affiliation.Standing;
syndicate.Title = syndicate.Title === undefined ? affiliation.Title : syndicate.Title + affiliation.Title;