forgot about grwothAnalyze

This commit is contained in:
Olivier Gagnon 2021-10-01 23:03:37 -04:00
parent 83c159e901
commit 94550dbaee
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1083,7 +1083,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);
return numCycleForGrowth(server, Number(growth), Player, server.cpuCores);
},
weaken: function (ip: any, { threads: requestedThreads }: any = {}): any {
updateDynamicRam("weaken", getRamCost("weaken"));