Merge pull request #659 from georgiee/circle-fix-return

Return the result of body#setCircle in p2
This commit is contained in:
Richard Davey 2014-03-28 09:27:56 +00:00
commit 10a3706d7a

View file

@ -1011,7 +1011,7 @@ Phaser.Physics.P2.Body.prototype = {
this.clearShapes();
this.addCircle(radius, offsetX, offsetY, rotation);
return this.addCircle(radius, offsetX, offsetY, rotation);
},