From b12548d46be81fd95b0ff2c28dbf81d6350dad57 Mon Sep 17 00:00:00 2001 From: Baptiste Date: Thu, 7 Dec 2023 22:47:12 +0100 Subject: [PATCH] =?UTF-8?q?on=20retire=20le=20d=C3=A9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public_html/js/network.js | 1 - public_html/js/sound.js | 1 - 2 files changed, 2 deletions(-) diff --git a/public_html/js/network.js b/public_html/js/network.js index 74d9340..9ea65dc 100644 --- a/public_html/js/network.js +++ b/public_html/js/network.js @@ -37,7 +37,6 @@ class Network{ this.playersToRemove.push(data.data.id); break; case "newBullet": - console.log(this.sound) this.bulletsToAdd.push(new Bullet(data.data.x,data.data.y,data.data.dx,data.data.dy,data.data.id, this.sound)); break; case "died": diff --git a/public_html/js/sound.js b/public_html/js/sound.js index 01f0e07..5d1f254 100644 --- a/public_html/js/sound.js +++ b/public_html/js/sound.js @@ -4,7 +4,6 @@ class Sound{ } loadSounds(){ - console.log(this.assetsUrl + "shoot.mp3") this.shootSound = new Audio(this.assetsUrl + "shoot.mp3"); this.shootSound.type = "audio/mp3"; this.driftsound = new Audio(this.assetsUrl + "drift.mp3");