diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index 04339b74d..fc47f05d2 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -1709,9 +1709,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { const txtFile = getTextFile(filename, server); return txtFile != null; }, - isRunning: function (_fn: unknown, _hostname: unknown = workerScript.hostname, ...scriptArgs: any[]): boolean { - const fn = helper.string("isRunning", "fn", _fn); - const hostname = helper.string("isRunning", "hostname", _hostname); + isRunning: function (fn: any, _hostname: any = workerScript.hostname, ...scriptArgs: any[]): boolean { updateDynamicRam("isRunning", getRamCost(Player, "isRunning")); if (fn === undefined || hostname === undefined) { throw makeRuntimeErrorMsg("isRunning", "Usage: isRunning(scriptname, server, [arg1], [arg2]...)");