diff --git a/src/core/Group.js b/src/core/Group.js index f5a0a3fa..e4b0530c 100644 --- a/src/core/Group.js +++ b/src/core/Group.js @@ -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(); }