mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 09:27:33 +01:00
forgot about grwothAnalyze
This commit is contained in:
parent
83c159e901
commit
94550dbaee
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"));
|
||||
|
Loading…
Reference in New Issue
Block a user