mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
getBitnodeMultipliers is available inside BN5
This commit is contained in:
parent
81fdff9068
commit
89cdecb05f
@ -1619,7 +1619,7 @@ function NetscriptFunctions(workerScript) {
|
||||
},
|
||||
getBitNodeMultipliers: function() {
|
||||
updateDynamicRam("getBitNodeMultipliers", getRamCost("getBitNodeMultipliers"));
|
||||
if (SourceFileFlags[5] <= 0) {
|
||||
if (Player.bitNodeN !== 5 && SourceFileFlags[5] <= 0) {
|
||||
throw makeRuntimeErrorMsg("getBitNodeMultipliers", "Requires Source-File 5 to run.");
|
||||
}
|
||||
let copy = Object.assign({}, BitNodeMultipliers);
|
||||
|
Loading…
Reference in New Issue
Block a user