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

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
let CONSTANTS = { let CONSTANTS = {
Version: "0.40.4", Version: "0.40.5",
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience //Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then //and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then

@ -4108,7 +4108,7 @@ function NetscriptFunctions(workerScript) {
return null; return null;
} }
let data = contract.getData(); let data = contract.getData();
if (typeof data === "object") { if (data.constructor === Array) {
// Pass a copy // Pass a copy
return data.slice(); return data.slice();
} else { } else {