From a16cb745c5f48121f92739769d43fd50f480b9a4 Mon Sep 17 00:00:00 2001 From: MageKing17 Date: Fri, 24 Dec 2021 19:34:34 -0800 Subject: [PATCH] Get rid of console spam in NetscriptFunctions.ts This was filling up the console and making it hard to debug anything other than `exec` calls. --- src/NetscriptFunctions.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index 83a4335ac..cae6f3dc4 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -952,7 +952,6 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { return runScriptFromScript("run", scriptServer, scriptname, args, workerScript, threads); }, exec: function (scriptname: any, hostname: any, threads: any = 1, ...args: any[]): any { - console.log(`${scriptname} ${hostname} ${threads} ${JSON.stringify(args)}`); updateDynamicRam("exec", getRamCost("exec")); if (scriptname === undefined || hostname === undefined) { throw makeRuntimeErrorMsg("exec", "Usage: exec(scriptname, server, [numThreads], [arg1], [arg2]...)");