on retire le débug

这个提交包含在:
Baptiste 2023-12-07 22:47:12 +01:00
父节点 07fdebfcd8
当前提交 b12548d46b
共有 2 个文件被更改,包括 0 次插入2 次删除

查看文件

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