mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Merge pull request #2447 from Feodoric/fix-gang-augments
Fix #2446 - ns.purchaseAugment() can no longer buy NF from gang
This commit is contained in:
commit
1df5e5a2aa
@ -166,6 +166,8 @@ export function NetscriptSingularity(
|
||||
let augs = [];
|
||||
if (player.hasGangWith(faction)) {
|
||||
for (const augName in Augmentations) {
|
||||
if (augName === AugmentationNames.NeuroFluxGovernor) continue;
|
||||
if (augName === AugmentationNames.TheRedPill && player.bitNodeN !== 2) continue;
|
||||
const tempAug = Augmentations[augName];
|
||||
if (!tempAug.isSpecial) {
|
||||
augs.push(augName);
|
||||
|
Loading…
Reference in New Issue
Block a user