This commit is contained in:
Richard Davey 2018-02-12 13:36:55 +00:00
parent 8de078d333
commit d421e9264e

View file

@ -263,7 +263,7 @@ var PointerConstraint = new Class({
*/
destroy: function ()
{
this.world.remove(this.constraint);
this.world.removeConstraint(this.constraint);
this.constraint = null;