Skip to content

Commit

Permalink
Merge pull request #67 from cha0s/create-behaviors
Browse files Browse the repository at this point in the history
fix: typo
  • Loading branch information
drawcall authored Nov 3, 2019
2 parents 3c33b76 + 728540b commit 494ee20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emitter/Emitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export default class Emitter extends Particle {
}

if (behaviour) {
behaviour = Util.isArray(behaviour) ? behaviour : [behaviour];
behaviours = Util.isArray(behaviour) ? behaviour : [behaviour];
}

particle.reset();
Expand Down

0 comments on commit 494ee20

Please sign in to comment.