From 99923e0f622d98314dee9204c3850cc5ccb985f6 Mon Sep 17 00:00:00 2001 From: Chris380 Date: Wed, 13 Apr 2022 15:58:43 +0200 Subject: [PATCH] Update src/NetscriptFunctions.ts Co-authored-by: Nikolai Korolev --- src/NetscriptFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index 4267628c0..c5bcf067f 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -753,7 +753,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { 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")); let threads = helper.number("growthAnalyzeSecurity", "threads", _threads); if (_hostname) {