remove unnecessary return

This commit is contained in:
Snarling 2022-08-29 03:34:38 -04:00
parent caf1a99c1d
commit 74be61cbdd

@ -62,7 +62,6 @@ async function startNetscript2Script(workerScript: WorkerScript): Promise<void>
throw `${script.filename} cannot be run because it does not have a main function.`;
if (!ns) throw `${script.filename} cannot be run because the NS object hasn't been constructed properly.`;
await loadedModule.main(ns);
return;
}
async function startNetscript1Script(workerScript: WorkerScript): Promise<void> {