mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-09 09:02:29 +02:00
Fixed syntax error in hiddenEntityResetScript
This commit is contained in:
parent
f8956a853b
commit
ab32470699
1 changed files with 3 additions and 10 deletions
|
@ -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();
|
||||
});
|
||||
});
|
Loading…
Reference in a new issue