Skip to content

Commit d2a348f

Browse files
committed
return the result of body#setCircle
1 parent 76c0913 commit d2a348f

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)