mirror of
https://github.com/lubosz/overte.git
synced 2025-08-25 09:10:08 +02:00
fix cloning equiping
This commit is contained in:
parent
0b60928dd3
commit
2cc8a55151
1 changed files with 1 additions and 0 deletions
|
@ -499,6 +499,7 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa
|
|||
var cloneID = this.cloneHotspot(grabbedProperties, controllerData);
|
||||
this.targetEntityID = cloneID;
|
||||
Entities.editEntity(this.targetEntityID, reparentProps);
|
||||
controllerData.nearbyEntityPropertiesByID[this.targetEntityID] = grabbedProperties;
|
||||
isClone = true;
|
||||
} else if (!grabbedProperties.locked) {
|
||||
Entities.editEntity(this.targetEntityID, reparentProps);
|
||||
|
|
Loading…
Reference in a new issue