This commit is contained in:
Killian Marty 2023-12-06 10:20:31 +01:00
parent dd3ec0316c
commit 77460ec9bd

View file

@ -113,6 +113,8 @@ wss.on('connection', (socket, req) => {
}
}
broadcast(JSON.stringify(message), socket.id);
} else if(message.type=="newBullet"){
broadcast(message, socket.id);
}
});