mirror of
https://github.com/photonstorm/phaser
synced 2024-11-14 17:07:43 +00:00
Fix null returns for play()
The play() method in the AnimationManager could return null for a valid animation name.
This commit is contained in:
parent
33a8bfdef0
commit
26a177d9a1
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ Phaser.AnimationManager.prototype = {
|
|||
this.currentAnim.paused = false;
|
||||
return this.currentAnim.play(frameRate, loop, killOnComplete);
|
||||
}
|
||||
return this.currentAnim;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue