mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 16:43:51 +01:00
revert growthAnalyze stuff because it causes errors
This commit is contained in:
parent
83a84c6d38
commit
b1d1de9118
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -892,7 +892,7 @@ function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
throw makeRuntimeErrorMsg("growthAnalyze", `Invalid argument: growth must be numeric and >= 1, is ${growth}.`);
|
||||
}
|
||||
|
||||
return numCycleForGrowth(server, Number(growth), Player, server.cpuCores);
|
||||
return numCycleForGrowth(server, Number(growth), Player, 1);
|
||||
},
|
||||
weaken: function (ip: any, { threads: requestedThreads }: any = {}): any {
|
||||
updateDynamicRam("weaken", getRamCost("weaken"));
|
||||
|
Loading…
Reference in New Issue
Block a user