mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 10:53:34 +02:00
fix parent tree grabbing
This commit is contained in:
parent
11f5e7812b
commit
3d7f7f0e62
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ Script.include("/~/system/libraries/Xform.js");
|
|||
entityID = targetEntity.id;
|
||||
targetProps = targetEntity.props;
|
||||
|
||||
if (entityIsGrabbable(targetProps)) {
|
||||
if (entityIsGrabbable(targetProps) || entityIsGrabbable(this.targetObject.entityProps)) {
|
||||
if (!entityIsDistanceGrabbable(targetProps)) {
|
||||
this.targetObject.makeDynamic();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue