From 88c74e47c3f6f47bc6225ed022da2b614ac998fe Mon Sep 17 00:00:00 2001 From: muktar1907 Date: Wed, 24 Apr 2024 00:19:55 -0500 Subject: [PATCH] changes --- html/index.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/html/index.html b/html/index.html index 848a1b2..c70747f 100644 --- a/html/index.html +++ b/html/index.html @@ -218,10 +218,8 @@

The Word Search Game

U.action=action; U.player=player; U.gameId=gameId; - if(isOpen(socket)) - { - socket.send(JSON.stringify(U)); - } + + socket.send(JSON.stringify(U)); console.log(JSON.stringify(U)); }