mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 19:14:32 +02:00
Simplify conditions
This commit is contained in:
@@ -66,11 +66,10 @@ export function FactionsRoot(props: IProps): React.ReactElement {
|
||||
for (const augName of Object.keys(Augmentations)) {
|
||||
if (
|
||||
augName === AugmentationNames.NeuroFluxGovernor ||
|
||||
augName === AugmentationNames.TheRedPill && player.bitNodeN !== 2
|
||||
augName === AugmentationNames.TheRedPill && player.bitNodeN !== 2 ||
|
||||
Augmentations[augName].isSpecial
|
||||
) continue;
|
||||
if (!Augmentations[augName].isSpecial) {
|
||||
augs.push(augName)
|
||||
}
|
||||
augs.push(augName)
|
||||
}
|
||||
} else {
|
||||
augs = faction.augmentations.slice();
|
||||
|
||||
Reference in New Issue
Block a user