From 6965bdb0e6455f0a81bcb7a9ed70bd8c2b45ae8a Mon Sep 17 00:00:00 2001 From: Mashy Date: Fri, 13 Sep 2019 22:10:25 +1000 Subject: [PATCH] anim bug --- client/src/components/construct.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/construct.jsx b/client/src/components/construct.jsx index 249a9e22..bfaee61c 100644 --- a/client/src/components/construct.jsx +++ b/client/src/components/construct.jsx @@ -43,7 +43,7 @@ class ConstructAvatar extends Component { if (!animTarget && !animSource) { if (!this.idle) { this.idle = idleAnimation(this.props.construct.id); - this.animations.push(this.idle); + return this.animations.push(this.idle); } return this.idle.play();