From ddc42d0fa6f233f16c80042e03edb399b7c4f9e1 Mon Sep 17 00:00:00 2001 From: pyoor Date: Thu, 15 Jun 2017 12:49:29 -0400 Subject: [PATCH] Fix bad reference to random.index --- lib/utils/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/script.js b/lib/utils/script.js index 95eec07..d94a948 100644 --- a/lib/utils/script.js +++ b/lib/utils/script.js @@ -69,7 +69,7 @@ utils.script = { }, makeArray: function (type, arrayLength, cb) { if (type === null || type === undefined) { - type = random.index(['Uint8', 'Float32']) + type = random.item(['Uint8', 'Float32']) } switch (random.number(8)) { case 0: