mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
Merge pull request #1014 from Dumtard/dev
Group create was not creating with p2 debug flag
This commit is contained in:
commit
f77b4d4e8f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue