Skip to content

Commit

Permalink
Merge pull request phaserjs#1014 from Dumtard/dev
Browse files Browse the repository at this point in the history
Group create was not creating with p2 debug flag
  • Loading branch information
photonstorm committed Jul 15, 2014
2 parents 64000df + 7107d73 commit f77b4d4
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 f77b4d4

Please sign in to comment.