improve beam resume out of pause menu

This commit is contained in:
Kevin Ngo
2018-10-08 17:30:13 -07:00
parent e6451b12e5
commit 8338f9e16f
6 changed files with 30 additions and 25 deletions

View File

@@ -53,7 +53,6 @@ AFRAME.registerComponent('beat', {
this.missElLeft = document.getElementById('missLeft');
this.missElRight = document.getElementById('missRight');
this.beams = document.getElementById('beams').components['beams'];
this.particles = document.getElementById('saberParticles');
this.initBlock();
@@ -336,7 +335,6 @@ AFRAME.registerComponent('beat', {
this.destroyed = false;
this.el.object3D.visible = true;
this.blockEl.object3D.visible = true;
this.beams.newBeam(this.data.color, this.el.object3D.position);
},
initCuttingClippingPlanes: function () {