From 7c50b664994a6a3baa0fe3baeb0f234b957477ca Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Fri, 26 Jul 2019 19:59:16 -0400 Subject: [PATCH] Updated gui mscript lib to use .meta instead of .light when preparing an mscript sequence. --- app/lib/ui/mscript.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/lib/ui/mscript.js b/app/lib/ui/mscript.js index d05d042..769c6da 100644 --- a/app/lib/ui/mscript.js +++ b/app/lib/ui/mscript.js @@ -77,8 +77,8 @@ mse.mscript.toGUI = function () { c = mse.mscript.data.arr[x]; seq.set(x, c); if (c === 'CF' || c === 'CB') { - if (typeof mse.mscript.data.light[x] !== 'undefined' && mse.mscript.data.light[x] !== '') { - seq.setLight(x, mse.mscript.data.light[x]); + if (typeof mse.mscript.data.meta[x] !== 'undefined' && mse.mscript.data.meta[x] !== '') { + seq.setLight(x, mse.mscript.data.meta[x]); } else { seq.setLight(x, light.color); } @@ -126,8 +126,8 @@ mse.mscript.prepare = function () { obj = { cmd : mse.mscript.data.arr[i] }; - if (typeof mse.mscript.data.light[i] !== 'undefined' && mse.mscript.data.light[i] !== '') { - obj.light = mse.mscript.data.light[i]; + if (typeof mse.mscript.data.meta[i] !== 'undefined' && mse.mscript.data.meta[i] !== '') { + obj.light = mse.mscript.data.meta[i]; } else { obj.light = light.color.join(','); }