From 8204d9736a94115eb15931f82cd540cf71bf09b7 Mon Sep 17 00:00:00 2001 From: liabru Date: Sun, 28 Dec 2014 17:09:04 +0000 Subject: [PATCH] fixed bug in Demo.reset that was creating multiple MouseConstraint --- demo/js/Demo.js | 1 - 1 file changed, 1 deletion(-) diff --git a/demo/js/Demo.js b/demo/js/Demo.js index fe9ba4e..d5e4e5c 100644 --- a/demo/js/Demo.js +++ b/demo/js/Demo.js @@ -1533,7 +1533,6 @@ Bodies.rectangle(-offset, 300, 50.5, 600.5 + 2 * offset, { isStatic: true }) ]); - _mouseConstraint = MouseConstraint.create(_engine); World.add(_world, _mouseConstraint); var renderOptions = _engine.render.options;