Merge pull request #684 from jonthulu/groupMove

Fixed bug where move up and move down method in groups did not work.
This commit is contained in:
Richard Davey 2014-04-02 23:04:47 +01:00
commit 1311c830a8

View file

@ -476,7 +476,7 @@ Phaser.Group.prototype.moveUp = function (child) {
if (b)
{
this.swap(a, b);
this.swap(child, b);
}
}
@ -500,7 +500,7 @@ Phaser.Group.prototype.moveDown = function (child) {
if (b)
{
this.swap(a, b);
this.swap(child, b);
}
}