Fixed lint errors with PR #5159

This commit is contained in:
Richard Davey 2020-07-13 12:20:10 +01:00
parent b06f498b1f
commit 818343f452

View file

@ -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;