fix miss hit

This commit is contained in:
Kevin Ngo
2018-10-13 11:04:30 -07:00
parent c526c7412b
commit 7c1f7e46ab

View File

@@ -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();
};
})(),