Fix null returns for play()

The play() method in the AnimationManager could return null for a valid animation name.
This commit is contained in:
Greg Tatum 2014-06-14 23:59:57 -05:00
parent 33a8bfdef0
commit 26a177d9a1

View file

@ -227,6 +227,7 @@ Phaser.AnimationManager.prototype = {
this.currentAnim.paused = false;
return this.currentAnim.play(frameRate, loop, killOnComplete);
}
return this.currentAnim;
}
else
{