mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-02 12:33:56 +01:00
Fix NF not working.
This commit is contained in:
parent
12d5f55aec
commit
6d591db0d2
@ -2078,15 +2078,16 @@ export function reapplyAllAugmentations(this: IPlayer, resetMultipliers = true):
|
|||||||
this.augmentations[i].name = "Hacknet Node NIC Architecture Neural-Upload";
|
this.augmentations[i].name = "Hacknet Node NIC Architecture Neural-Upload";
|
||||||
}
|
}
|
||||||
|
|
||||||
const augName = this.augmentations[i].name;
|
const playerAug = this.augmentations[i];
|
||||||
|
const augName = playerAug.name;
|
||||||
const aug = Augmentations[augName];
|
const aug = Augmentations[augName];
|
||||||
if (aug == null) {
|
if (aug == null) {
|
||||||
console.warn(`Invalid augmentation name in Player.reapplyAllAugmentations(). Aug ${augName} will be skipped`);
|
console.warn(`Invalid augmentation name in Player.reapplyAllAugmentations(). Aug ${augName} will be skipped`);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
aug.owned = true;
|
aug.owned = true;
|
||||||
if (aug.name == AugmentationNames.NeuroFluxGovernor) {
|
if (augName == AugmentationNames.NeuroFluxGovernor) {
|
||||||
for (let j = 0; j < aug.level; ++j) {
|
for (let j = 0; j < playerAug.level; ++j) {
|
||||||
applyAugmentation(this.augmentations[i], true);
|
applyAugmentation(this.augmentations[i], true);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user