Fixed syntax error in hiddenEntityResetScript

This commit is contained in:
ericrius1 2015-10-12 09:12:33 -07:00
parent f8956a853b
commit ab32470699

View file

@ -407,11 +407,6 @@
type: 'Box', type: 'Box',
position: startPosition, position: startPosition,
dimensions: TARGET_DIMENSIONS, dimensions: TARGET_DIMENSIONS,
color: {
red: 0,
green: 255,
blue: 0
},
rotation: rotation, rotation: rotation,
visible: false, visible: false,
collisionsWillMove: false, collisionsWillMove: false,
@ -734,7 +729,6 @@
var sconceLight3 = Entities.addEntity({ var sconceLight3 = Entities.addEntity({
type: "Light", type: "Light",
position: { position: {
@ -888,7 +882,7 @@
y: 1.13, y: 1.13,
z: 0.2 z: 0.2
}, },
rotation: rotation2, rotation: rotation,
collisionsWillMove: true, collisionsWillMove: true,
gravity: { gravity: {
x: 0, x: 0,
@ -1256,7 +1250,7 @@
y: 0.05, y: 0.05,
z: 0.25 z: 0.25
} }
},]; }, ];
var modelURL, entity; var modelURL, entity;
for (i = 0; i < blockTypes.length; i++) { for (i = 0; i < blockTypes.length; i++) {
@ -1305,7 +1299,6 @@
Script.scriptEnding.connect(cleanup); Script.scriptEnding.connect(cleanup);
} }
}; };
// entity scripts always need to return a newly constructed object of our type // entity scripts always need to return a newly constructed object of our type
return new ResetSwitch(); return new ResetSwitch();
}); });