From 77460ec9bd162f6ff760b4b2b77f89ffdb69d6b6 Mon Sep 17 00:00:00 2001 From: Killian Marty Date: Wed, 6 Dec 2023 10:20:31 +0100 Subject: [PATCH] srv --- server/server.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/server.js b/server/server.js index 475151c..e65d2c5 100644 --- a/server/server.js +++ b/server/server.js @@ -113,6 +113,8 @@ wss.on('connection', (socket, req) => { } } broadcast(JSON.stringify(message), socket.id); + } else if(message.type=="newBullet"){ + broadcast(message, socket.id); } });