From 0296d9907ba89bc8ea8e9eba28f4c0dba833902f Mon Sep 17 00:00:00 2001 From: Mashy Date: Fri, 13 Sep 2019 22:25:07 +1000 Subject: [PATCH] actually fix anim bug --- client/src/components/construct.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/components/construct.jsx b/client/src/components/construct.jsx index bfaee61c..cf7a91f0 100644 --- a/client/src/components/construct.jsx +++ b/client/src/components/construct.jsx @@ -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(); }