Skip to content

Commit 441fd60

Browse files
committed
fix: remove unnecessary check
1 parent 1cf7f7c commit 441fd60

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/jsm/physics/RapierPhysics.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ export class Physic {
140140

141141
const physics = child.userData.physics;
142142

143-
if (!physics) return;
144-
145143
this._addObject(child, physics.mass, physics.restitution);
146144
});
147145
}

0 commit comments

Comments
 (0)