mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-28 00:47:33 +01:00
Merge pull request #1426 from danielyxie/dev
revert growthAnalyze stuff because it causes errors
This commit is contained in:
commit
f2589a0ade
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