diff --git a/js/boid.js b/js/boid.js index 411f82b..0756087 100644 --- a/js/boid.js +++ b/js/boid.js @@ -139,7 +139,7 @@ class Boid extends V2D { } this.vel.max(opt.maxSpeed); - this.add(this.vel); + this.sclAdd(this.vel, g.delta); if (opt.bounce) { let ran = false;