mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 16:50:43 +02: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