Merge pull request #3565 from nickofolas/fix/isSpecial-filter

AUGMENTATIONS: Fix `isSpecial` filter in helper (Removes NeuroFlux, Stanek's Gift, etc from gangs)
This commit is contained in:
hydroflame 2022-05-04 12:02:47 -04:00 committed by GitHub
commit d96faf7225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -144,7 +144,7 @@ export const getFactionAugmentationsFiltered = (player: IPlayer, faction: Factio
let augs = Object.values(Augmentations);
// Remove special augs
augs = augs.filter((a) => !a.isSpecial || a.name != AugmentationNames.CongruityImplant);
augs = augs.filter((a) => !a.isSpecial && a.name !== AugmentationNames.CongruityImplant);
if (player.bitNodeN === 2) {
// TRP is not available outside of BN2 for Gangs