Merge pull request #1803 from theit8514/fix-faction-invites

Keep faction invites if not accepted on reset
This commit is contained in:
hydroflame 2021-11-30 11:10:05 -05:00 committed by GitHub
commit ef5d92455b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ const BitNode8StartingMoney = 250e6;
export function prestigeAugmentation(): void {
initBitNodeMultipliers(Player);
const maintainMembership = Player.factions.filter(function (faction) {
const maintainMembership = Player.factions.concat(Player.factionInvitations).filter(function (faction) {
return Factions[faction].getInfo().keep;
});
Player.prestigeAugmentation();