Merge pull request #2208 from Hedrauta/fix#2206

fix typo for #2206
This commit is contained in:
hydroflame 2021-12-28 10:29:41 -05:00 committed by GitHub
commit c7657e5ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -81,7 +81,7 @@ function startNetscript2Script(workerScript: WorkerScript): Promise<WorkerScript
if (propName === "asleep") return f(...args); // OK for multiple simultaneous calls to sleep. if (propName === "asleep") return f(...args); // OK for multiple simultaneous calls to sleep.
const msg = const msg =
"Concurrent calls to Netscript functions not allowed! " + "Concurrent calls to Netscript functions are not allowed! " +
"Did you forget to await hack(), grow(), or some other " + "Did you forget to await hack(), grow(), or some other " +
"promise-returning function? (Currently running: %s tried to run: %s)"; "promise-returning function? (Currently running: %s tried to run: %s)";
if (runningFn) { if (runningFn) {