no bubble beatwrong

This commit is contained in:
Kevin Ngo
2018-10-04 01:25:49 -07:00
parent 280a9f0200
commit 11cabdbc5a

View File

@@ -198,7 +198,7 @@ AFRAME.registerComponent('beat', {
wrongEl.object3D.position.y += 0.2;
wrongEl.object3D.position.z -= 0.5;
wrongEl.object3D.visible = true;
wrongEl.emit('beatwrong');
wrongEl.emit('beatwrong', null, false);
this.destroyed = true;
},