mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
game.make.group() did not setup parent correctly
This commit is contained in:
parent
f41f806b99
commit
d360384f4a
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ Phaser.GameObjectCreator.prototype = {
|
|||
*/
|
||||
group: function (parent, name, addToStage, enableBody, physicsBodyType) {
|
||||
|
||||
return new Phaser.Group(this.game, null, name, addToStage, enableBody, physicsBodyType);
|
||||
return new Phaser.Group(this.game, parent, name, addToStage, enableBody, physicsBodyType);
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue