Merge pull request #1014 from Dumtard/dev

Group create was not creating with p2 debug flag
This commit is contained in:
Richard Davey 2014-07-15 12:39:53 +01:00
commit f77b4d4e8f

View file

@ -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;