This commit is contained in:
danielyxie
2018-10-08 19:33:07 -05:00
parent f4391b19bc
commit 5902c892de
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4108,7 +4108,7 @@ function NetscriptFunctions(workerScript) {
return null;
}
let data = contract.getData();
if (typeof data === "object") {
if (data.constructor === Array) {
// Pass a copy
return data.slice();
} else {