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:
parent
1894cb9666
commit
ac9f561338
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue