mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 10:23:59 +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',
|
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();
|
||||||
});
|
});
|
Loading…
Reference in a new issue