Skip to content

Commit 7107d73

Browse files
committed
group create with p2 debug
1 parent ff5dda7 commit 7107d73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/Group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ Phaser.Group.prototype.create = function (x, y, key, frame, exists) {
303303

304304
if (this.enableBody)
305305
{
306-
this.game.physics.enable(child, this.physicsBodyType);
306+
this.game.physics.enable(child, this.physicsBodyType, this.enableBodyDebug);
307307
}
308308

309309
child.exists = exists;

0 commit comments

Comments
 (0)