mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
make clone work again
This commit is contained in:
parent
f1170dc17d
commit
0cd0e46ca5
1 changed files with 1 additions and 1 deletions
|
@ -3020,7 +3020,7 @@ function MyController(hand) {
|
||||||
var worldEntities = Entities.findEntities(MyAvatar.position, 50);
|
var worldEntities = Entities.findEntities(MyAvatar.position, 50);
|
||||||
var count = 0;
|
var count = 0;
|
||||||
worldEntities.forEach(function(item) {
|
worldEntities.forEach(function(item) {
|
||||||
var itemWE = Entities.getEntityProperties(itemWE, ["name"]);
|
var itemWE = Entities.getEntityProperties(item, ["name"]);
|
||||||
if (itemWE.name.indexOf('-clone-' + grabbedProperties.id) !== -1) {
|
if (itemWE.name.indexOf('-clone-' + grabbedProperties.id) !== -1) {
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue