Skip to content

Commit 7ec6ff6

Browse files
authored
minor fix (playcanvas#3215)
Missed scope removal
1 parent 5d55fa1 commit 7ec6ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/framework/components/rigid-body/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ class RigidBodyComponent extends Component {
466466
}
467467

468468
if (entity.collision.type === 'compound') {
469-
this.system._compounds.push(this.entity.collision);
469+
this.system._compounds.push(entity.collision);
470470
}
471471

472472
body.activate();

0 commit comments

Comments
 (0)