on retire le débug
This commit is contained in:
parent
07fdebfcd8
commit
b12548d46b
2 changed files with 0 additions and 2 deletions
|
@ -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":
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue