v1 api breaks

This commit is contained in:
Olivier Gagnon
2021-11-02 22:11:22 -04:00
parent fcf29fa37c
commit b2bf3fc21f
13 changed files with 273 additions and 242 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ function startNetscript2Script(workerScript: WorkerScript): Promise<WorkerScript
throw workerScript;
}
if (propName === "sleep") 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 =
"Concurrent calls to Netscript functions not allowed! " +