mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
Update src/NetscriptFunctions.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
This commit is contained in:
parent
1dac3fea31
commit
99923e0f62
@ -753,7 +753,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
|||||||
|
|
||||||
return numCycleForGrowth(server, Number(growth), Player, cores);
|
return numCycleForGrowth(server, Number(growth), Player, cores);
|
||||||
},
|
},
|
||||||
growthAnalyzeSecurity: function (_threads: unknown, _hostname: unknown, _cores?: unknown): number {
|
growthAnalyzeSecurity: function (_threads: unknown, _hostname?: unknown, _cores?: unknown): number {
|
||||||
updateDynamicRam("growthAnalyzeSecurity", getRamCost(Player, "growthAnalyzeSecurity"));
|
updateDynamicRam("growthAnalyzeSecurity", getRamCost(Player, "growthAnalyzeSecurity"));
|
||||||
let threads = helper.number("growthAnalyzeSecurity", "threads", _threads);
|
let threads = helper.number("growthAnalyzeSecurity", "threads", _threads);
|
||||||
if (_hostname) {
|
if (_hostname) {
|
||||||
|
Loading…
Reference in New Issue
Block a user