History

fix cloning equiping

druiz17 committed 9 years ago

Commit 2cc8a551 parent 0b609281 file · +1 −0Browse files

Showing the changes to scripts/system/controllers/controllerModules (1 of 1 file). Show all

Unified · Split

scripts/system/controllers/controllerModules/equipEntity.js+1−0
@@ -499,6 +499,7 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa · 498 unmodified lines
499499 var cloneID = this.cloneHotspot(grabbedProperties, controllerData);
500500 this.targetEntityID = cloneID;
501501 Entities.editEntity(this.targetEntityID, reparentProps);
502+ controllerData.nearbyEntityPropertiesByID[this.targetEntityID] = grabbedProperties;
502503 isClone = true;
503504 } else if (!grabbedProperties.locked) {
504505 Entities.editEntity(this.targetEntityID, reparentProps);