Jump to content

Simple bug in removeChildren function


RedPanduzer
 Share

Recommended Posts

Calling removeChirldren on sprite causes reference error because begin is not defined. Function gets beginIndex as parameter but never defines begin variable. Fix is as simple as changing begin to beginIndex.
There is open issue on this. My Phaser version is  2.6.2
https://github.com/photonstorm/phaser/issues/2929?_pjax=%23js-repo-pjax-container

Link to comment
Share on other sites

Thanks. I was aware of CE-edition but just took the newest version from Phaser download page. As a side note it might make things less confusing if there would be a link to CE-edition on that download page too. For me, it doesn't really matter as I'm running custom version anyway.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...