diff --git a/js/technical/particleSystem.js b/js/technical/particleSystem.js index 678fd62..3c431c5 100644 --- a/js/technical/particleSystem.js +++ b/js/technical/particleSystem.js @@ -20,7 +20,7 @@ function makeParticles(data, amount=1) { } } - if (data.angle === undefined) { + if (data.dir === undefined) { particle.dir = particle.angle } particle.dir = particle.dir + (particle.spread * (x- amount/2 + 0.5))