mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 23:02:32 +02:00
Remove now-unnecessary getEntityProperties() call from WebTablet.js
This commit is contained in:
parent
200ff2499e
commit
48680a0fe2
1 changed files with 1 additions and 3 deletions
|
@ -82,9 +82,7 @@ function calcSpawnInfo(hand, landscape) {
|
|||
cleanUpOldMaterialEntities = function() {
|
||||
var avatarEntityData = MyAvatar.getAvatarEntityData();
|
||||
for (var entityID in avatarEntityData) {
|
||||
var entityName = Entities.getEntityProperties(entityID, ["name"]).name;
|
||||
|
||||
if (entityName === TABLET_MATERIAL_ENTITY_NAME) {
|
||||
if (avatarEntityData[entityID].name === TABLET_MATERIAL_ENTITY_NAME) {
|
||||
Entities.deleteEntity(entityID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue