Skip to content

Commit 10a3706

Browse files
committed
Merge pull request phaserjs#659 from georgiee/circle-fix-return
Return the result of body#setCircle in p2
2 parents 76c0913 + d2a348f commit 10a3706

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/p2/Body.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ Phaser.Physics.P2.Body.prototype = {
10111011

10121012
this.clearShapes();
10131013

1014-
this.addCircle(radius, offsetX, offsetY, rotation);
1014+
return this.addCircle(radius, offsetX, offsetY, rotation);
10151015

10161016
},
10171017

0 commit comments

Comments
 (0)