Skip to content

Commit f77b4d4

Browse files
committed
Merge pull request #1014 from Dumtard/dev
Group create was not creating with p2 debug flag
2 parents 64000df + 7107d73 commit f77b4d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)