Merge pull request #11904 from druiz17/fix-equipping

Fix adjusting equipped entities
This commit is contained in:
Brad Hefta-Gaub 2017-12-02 18:31:00 -08:00 committed by GitHub
commit 218b4635b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,8 @@ Script.include("/~/system/libraries/cloneEntityUtils.js");
};
this.otherHandIsParent = function(props) {
return this.getOtherModule().thisHandIsParent(props);
var otherModule = this.getOtherModule();
return (otherModule.thisHandIsParent(props) && otherModule.grabbing);
};
this.startNearParentingGrabEntity = function (controllerData, targetProps) {