mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
Merge pull request #463 from georgiee/fix-group
Fixed Phaser.Group#destroy(true)
This commit is contained in:
+1
-1
@@ -1147,7 +1147,7 @@ Phaser.Group.prototype.destroy = function (destroyChildren) {
|
||||
{
|
||||
do
|
||||
{
|
||||
if (this.children[0].group)
|
||||
if (this.children[0].parent)
|
||||
{
|
||||
this.children[0].destroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user