From d98eaefb9c438ec824e50c4cd18b3ca5460c55f4 Mon Sep 17 00:00:00 2001 From: muktar1907 Date: Mon, 29 Apr 2024 16:18:20 -0500 Subject: [PATCH] idk --- html/index_1.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/html/index_1.html b/html/index_1.html index 1defffc..c753dd3 100644 --- a/html/index_1.html +++ b/html/index_1.html @@ -160,7 +160,7 @@

Leaderboard

let gameData; let playerData; - + console.log(nick+"has joined"); console.log(messageData.ready==="true"); if("ready" in messageData && messageData.ready==="true") @@ -314,10 +314,8 @@

Leaderboard

}; - if(socket.readyState===1) - { - socket.send(JSON.stringify(data)); - } + + socket.send(JSON.stringify(data)); console.log(JSON.stringify(data)); }