louisstow/Crafty — pull request #181 by irongaze (2012-01-16 01:51:52+00:00)
Title: On destroy of 2D entity, destroy all children

Louis/team, added code to automatically destroy 2D's children when parent is destroyed. Seems like the right thing to do, fixes some odd behavior. 5 lines changed... let me know if this works for you, or if there's another method you'd like me to pursue for contributing to Crafty.

Thanks!