1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-22 00:21:32 +00:00

Fix to particle angle/dir stuff

This commit is contained in:
Harley White 2021-05-17 21:27:12 -04:00
parent 1894cb9666
commit ac9f561338

View file

@ -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))