fix particle player error

This commit is contained in:
Kevin Ngo
2018-10-06 21:36:15 -07:00
parent 7c23eb1239
commit cfe5a3fc20

View File

@@ -308,6 +308,8 @@ AFRAME.registerComponent('particleplayer', {
}
}
if (found === -1) { return; }
particleSystem = this.particleSystems[found];
particleSystem.active = true;
particleSystem.loopCount = 1;