mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Fix array/object bug with new JS Interpreter for Port functions (read, write, and tryWrite)
This commit is contained in:
parent
96b26c582e
commit
ea6cc3da55
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/vendor.bundle.js
vendored
2
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -199,7 +199,8 @@ function startNetscript1Script(workerScript) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
int.setProperty(scope, name, int.createAsyncFunction(tempWrapper));
|
int.setProperty(scope, name, int.createAsyncFunction(tempWrapper));
|
||||||
} else if (name === "sprintf" || name === "vsprintf" || name === "scp") {
|
} else if (name === "sprintf" || name === "vsprintf" || name === "scp" ||
|
||||||
|
name == "write" || name === "read" || name === "tryWrite") {
|
||||||
let tempWrapper = function() {
|
let tempWrapper = function() {
|
||||||
let fnArgs = [];
|
let fnArgs = [];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user