Skip to content

Commit

Permalink
fixed bug in Demo.reset that was creating multiple MouseConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Dec 28, 2014
1 parent 066a416 commit 8204d97
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion demo/js/Demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8204d97

Please sign in to comment.