mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 11:57:19 +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) {
|
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…
Add table
Reference in a new issue