mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 16:22:56 +02:00
v0.40.5
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user