mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Merge pull request #659 from georgiee/circle-fix-return
Return the result of body#setCircle in p2
This commit is contained in:
commit
10a3706d7a
1 changed files with 1 additions and 1 deletions
|
@ -1011,7 +1011,7 @@ Phaser.Physics.P2.Body.prototype = {
|
|||
|
||||
this.clearShapes();
|
||||
|
||||
this.addCircle(radius, offsetX, offsetY, rotation);
|
||||
return this.addCircle(radius, offsetX, offsetY, rotation);
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue