diff --git a/src/NetscriptWorker.ts b/src/NetscriptWorker.ts index cff1b83d2..f7ce6e009 100644 --- a/src/NetscriptWorker.ts +++ b/src/NetscriptWorker.ts @@ -124,7 +124,7 @@ function startNetscript1Script(workerScript: WorkerScript): Promise { const entry = ns[name]; if (typeof entry === "function") { //Async functions need to be wrapped. See JS-Interpreter documentation - const asyncFuncs = ["hack", "grow", "weaken", "sleep", "prompt", "manualHack", "scp", "write", "share", "wget"]; + const asyncFuncs = ["hack", "grow", "weaken", "sleep", "prompt", "manualHack", "share", "wget"]; if (asyncFuncs.includes(name)) { const tempWrapper = function (...args: unknown[]): void {