Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group.removeAll(true) is broken #717

Closed
AnderbergE opened this issue Apr 14, 2014 · 2 comments
Closed

group.removeAll(true) is broken #717

AnderbergE opened this issue Apr 14, 2014 · 2 comments

Comments

@AnderbergE
Copy link

In 2.0.3, Phaser.Group function removeAll(destroy) throws an error if you set destroy to true. The reason is on line 1459, where this.children[0].destroy() is called, but that object has already been removed earlier.
Origin: a01cc2e

@photonstorm
Copy link
Collaborator

Indeed, yes. Thanks for reporting, this is now fixed in dev.

@AnderbergE
Copy link
Author

Thumbs up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants