mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 13:15:48 +01:00
Fixed bug with recent Neuroflux changes that cause it to break at level 0
This commit is contained in:
parent
ae00898fd8
commit
0c9f9689f2
@ -1,8 +1,7 @@
|
||||
import {BitNodeMultipliers} from "./BitNodeMultipliers";
|
||||
import {CONSTANTS} from "./Constants";
|
||||
import {Engine} from "./engine";
|
||||
import {Factions, getNextNeurofluxLevel,
|
||||
factionExists} from "./Faction";
|
||||
import {Factions, factionExists} from "./Faction";
|
||||
import {hasBladeburnerSF} from "./NetscriptFunctions";
|
||||
import {addWorkerScript} from "./NetscriptWorker";
|
||||
import {Player} from "./Player";
|
||||
|
@ -742,9 +742,6 @@ function getNextNeurofluxLevel() {
|
||||
}
|
||||
}
|
||||
|
||||
// Player doesn't have Neuroflux yet, so next level is 1
|
||||
if (currLevel === 0) { return 1; }
|
||||
|
||||
// Account for purchased but uninstalled Augmentations
|
||||
for (var i = 0; i < Player.queuedAugmentations.length; ++i) {
|
||||
if (Player.queuedAugmentations[i].name == AugmentationNames.NeuroFluxGovernor) {
|
||||
|
Loading…
Reference in New Issue
Block a user