Fixed bug with calling scp() on an array

This commit is contained in:
danielyxie 2018-07-29 15:14:24 -05:00
parent 7a7660359e
commit fabc45f496
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

@ -199,7 +199,7 @@ function startNetscript1Script(workerScript) {
});
}
int.setProperty(scope, name, int.createAsyncFunction(tempWrapper));
} else if (name === "sprintf" || name === "vsprintf") {
} else if (name === "sprintf" || name === "vsprintf" || name === "scp") {
let tempWrapper = function() {
let fnArgs = [];