From 95b3ec1874c261f520a2a38326969ccd298590b7 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 18 Apr 2016 00:22:16 -0400 Subject: [PATCH] Add light array to mscript output --- app/lib/mscript.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/lib/mscript.js b/app/lib/mscript.js index 13166c7..8df3dd7 100644 --- a/app/lib/mscript.js +++ b/app/lib/mscript.js @@ -71,6 +71,7 @@ mscript.interpret = function interpret (text, callback) { var lines = text.split('\n'), two = '', arr = [], + light = [], target = 0, dist = 0, //? output = {}; @@ -158,6 +159,7 @@ mscript.interpret = function interpret (text, callback) { } output.success = true; output.arr = arr; + output.light = light; output.cam = mscript.state.cam; output.proj = mscript.state.proj; if (typeof callback !== 'undefined') {