mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
fix name for tilt maze ball
This commit is contained in:
parent
ee210c5038
commit
2052b617b3
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@
|
|||
}
|
||||
|
||||
var properties = {
|
||||
name: 'Hifi Tilt Maze Ball',
|
||||
name: 'home_sphere_tiltMazeBall',
|
||||
type: 'Sphere',
|
||||
position: this.getBallStartLocation(),
|
||||
dynamic: true,
|
||||
|
@ -141,7 +141,7 @@
|
|||
var results = Entities.findEntities(MyAvatar.position, 10);
|
||||
results.forEach(function(result) {
|
||||
var props = Entities.getEntityProperties(result, ['name']);
|
||||
var isAMazeBall = props.name.indexOf('Maze Ball');
|
||||
var isAMazeBall = props.name.indexOf('MazeBall');
|
||||
if (isAMazeBall > -1 && result === _this.ball) {
|
||||
Entities.deleteEntity(result);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue