mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +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 count = 0;
|
||||
worldEntities.forEach(function(item) {
|
||||
var itemWE = Entities.getEntityProperties(itemWE, ["name"]);
|
||||
var itemWE = Entities.getEntityProperties(item, ["name"]);
|
||||
if (itemWE.name.indexOf('-clone-' + grabbedProperties.id) !== -1) {
|
||||
count++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue