Skip to content

Commit

Permalink
group create with p2 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumtard committed Jul 14, 2014
1 parent ff5dda7 commit 7107d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Group.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Phaser.Group.prototype.create = function (x, y, key, frame, exists) {

if (this.enableBody)
{
this.game.physics.enable(child, this.physicsBodyType);
this.game.physics.enable(child, this.physicsBodyType, this.enableBodyDebug);
}

child.exists = exists;
Expand Down

0 comments on commit 7107d73

Please sign in to comment.