photonstorm/phaser — pull request #687 by jonthulu (2014-04-03 15:16:15+00:00)
Title: Fixed bug in group.next when cursor is at the last child.

When the cursor index was at the end of the children array, it would set the cursor to an undefined and get stuck there.