From d962d4b33206412f762e8515b36b1d8d2cedffbb Mon Sep 17 00:00:00 2001 From: Mees Roelofsz Date: Fri, 26 Jan 2024 09:19:31 +0100 Subject: [PATCH] removed travelled --- web/js/basicbullet.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web/js/basicbullet.js b/web/js/basicbullet.js index 6ed8b16..bb0065f 100644 --- a/web/js/basicbullet.js +++ b/web/js/basicbullet.js @@ -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;