mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 16:22:56 +02:00
Testing making the script runner NOT be a different web worker thread.
This commit is contained in:
@@ -931,6 +931,10 @@ function runScriptsLoop() {
|
||||
if (workerScripts[i].running == false) {
|
||||
var ast = Parser(Tokenizer(InputStream(workerScripts[i].code)));
|
||||
|
||||
console.log("Starting new script: " + workerScripts[i].name);
|
||||
console.log("AST of new script:");
|
||||
console.log(ast);
|
||||
|
||||
evaluate(ast, workerScripts[i]);
|
||||
workerScripts[i].running = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user