From 7c1f7e46abe8cdb7116b09593038d95d3e7a78c0 Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Sat, 13 Oct 2018 11:04:30 -0700 Subject: [PATCH] fix miss hit --- src/components/beat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/beat.js b/src/components/beat.js index 82d27f5..cc019e7 100644 --- a/src/components/beat.js +++ b/src/components/beat.js @@ -473,7 +473,7 @@ AFRAME.registerComponent('beat', { this.backToPool = this.returnToPoolTimer <= 0; } - if (!this.destroyed) { this.missHit(); } + if (this.backToPool && !this.destroyed) { this.missHit(); } this.returnToPool(); }; })(),