cheat: gainNoNegativeSyndicateStanding (3)
This commit is contained in:
parent
12541dd87f
commit
b46849206a
@ -2181,11 +2181,11 @@ export const updateSyndicate = (
|
||||
): void => {
|
||||
syndicateUpdate?.forEach(affiliation => {
|
||||
const syndicate = inventory.Affiliations.find(x => x.Tag == affiliation.Tag);
|
||||
if (syndicate !== undefined) {
|
||||
if (inventory.gainNoNegativeSyndicateStanding) {
|
||||
affiliation.Standing = Math.max(0, affiliation.Standing);
|
||||
affiliation.Title = Math.max(0, affiliation.Title);
|
||||
}
|
||||
if (syndicate !== undefined) {
|
||||
syndicate.Standing += affiliation.Standing;
|
||||
syndicate.Title = syndicate.Title === undefined ? affiliation.Title : syndicate.Title + affiliation.Title;
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user