From ab32470699bf005e044de8d672cd8540b816481b Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Mon, 12 Oct 2015 09:12:33 -0700 Subject: [PATCH] Fixed syntax error in hiddenEntityResetScript --- unpublishedScripts/hiddenEntityReset.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/unpublishedScripts/hiddenEntityReset.js b/unpublishedScripts/hiddenEntityReset.js index d480c0ac74..10966f3a7b 100644 --- a/unpublishedScripts/hiddenEntityReset.js +++ b/unpublishedScripts/hiddenEntityReset.js @@ -407,11 +407,6 @@ type: 'Box', position: startPosition, dimensions: TARGET_DIMENSIONS, - color: { - red: 0, - green: 255, - blue: 0 - }, rotation: rotation, visible: false, collisionsWillMove: false, @@ -734,7 +729,6 @@ - var sconceLight3 = Entities.addEntity({ type: "Light", position: { @@ -888,7 +882,7 @@ y: 1.13, z: 0.2 }, - rotation: rotation2, + rotation: rotation, collisionsWillMove: true, gravity: { x: 0, @@ -1256,7 +1250,7 @@ y: 0.05, z: 0.25 } - },]; + }, ]; var modelURL, entity; for (i = 0; i < blockTypes.length; i++) { @@ -1305,7 +1299,6 @@ Script.scriptEnding.connect(cleanup); } }; - // entity scripts always need to return a newly constructed object of our type return new ResetSwitch(); -}); +}); \ No newline at end of file