mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
Fixed lint errors with PR #5159
This commit is contained in:
parent
b06f498b1f
commit
818343f452
1 changed files with 7 additions and 4 deletions
|
@ -330,10 +330,13 @@ var Animation = new Class({
|
|||
key = key.key;
|
||||
}
|
||||
|
||||
if(this.nextAnim === null){
|
||||
this.nextAnim = key;
|
||||
} else {
|
||||
this.nextAnimsQueue.push(key);
|
||||
if (this.nextAnim === null)
|
||||
{
|
||||
this.nextAnim = key;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.nextAnimsQueue.push(key);
|
||||
}
|
||||
|
||||
return this.parent;
|
||||
|
|
Loading…
Reference in a new issue