actually fix anim bug

This commit is contained in:
Mashy 2019-09-13 22:25:07 +10:00
parent 7cb6fdf475
commit 0296d9907b

View File

@ -77,6 +77,9 @@ class ConstructAvatar extends Component {
// back to idle
if (!animTarget && !animSource) {
this.idle = idleAnimation(this.props.construct.id);
return this.animations.push(this.idle);
}
return this.idle.play();
}