removed travelled

This commit is contained in:
Mees Roelofsz
2024-01-26 09:19:31 +01:00
parent 85bc103d2a
commit d962d4b332

View File

@@ -41,7 +41,6 @@ class bullet {
let hit = false;
let shot = true;
let travelled = false;
// check if the projectile has hit the player
if (dist(this.projectile.x, this.projectile.y, this.targetx, this.targety) <= this.radius + radius) {
hit = true;