Fixed bug where move up and move down method in groups did not work.

This commit is contained in:
Jon White 2014-04-02 15:39:20 -05:00
parent 5b73bb21bb
commit e24c8f63ea

View file

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