on retire le débug

This commit is contained in:
Baptiste 2023-12-07 22:47:12 +01:00
parent 07fdebfcd8
commit b12548d46b
2 changed files with 0 additions and 2 deletions

View file

@ -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":

View file

@ -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");