You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As pointed out, `newChild.parent` could be accessed after it was set to
undefined. This fix unifies the code from the various `destroy` methods so
the previou issue does not occur.
https://github.com/photonstorm/phaser/blob/dev/src/core/Group.js#L689
In Group's replace method, when removeChild is invoked, newChild.parent will become undefined, so i think we should save parent to variable before remvoeChild, then parent.updateZ()
The text was updated successfully, but these errors were encountered: