diff --git a/examples/webgl_physics_rope.html b/examples/webgl_physics_rope.html
index fdbc41e2bae8bf7f16002a6ff0fc4cd2fc1ba1d8..13b0eb61eb748f0226cc8e4b6ee66ddb69cb42c3 100644
--- a/examples/webgl_physics_rope.html
+++ b/examples/webgl_physics_rope.html
@@ -60,6 +60,7 @@
var dispatcher;
var broadphase;
var solver;
+ var softBodySolver;
var physicsWorld;
var rigidBodies = [];
var margin = 0.05;
@@ -281,7 +282,7 @@
var sbConfig = ropeSoftBody.get_m_cfg();
sbConfig.set_viterations( 10 );
sbConfig.set_piterations( 10 );
- ropeSoftBody.setTotalMass( ropeMass, false )
+ ropeSoftBody.setTotalMass( ropeMass, false );
Ammo.castObject( ropeSoftBody, Ammo.btCollisionObject ).getCollisionShape().setMargin( margin * 3 );
physicsWorld.addSoftBody( ropeSoftBody, 1, -1 );
rope.userData.physicsBody = ropeSoftBody;