From b3151d4b28be1ea953787ce1a08ce65c1f2eda6a Mon Sep 17 00:00:00 2001 From: bgoulard Date: Mon, 5 Jan 2026 17:15:29 +0100 Subject: [PATCH] local game btn ok --- frontend/src/pages/pong/pong.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/pong/pong.ts b/frontend/src/pages/pong/pong.ts index c06c940..86cc536 100644 --- a/frontend/src/pages/pong/pong.ts +++ b/frontend/src/pages/pong/pong.ts @@ -232,13 +232,12 @@ function pongClient(_url: string, _args: RouteHandlerParams): RouteHandlerReturn // --- queueBtn.innerText = QueueState.Iddle; - currentGame = null; render(DEFAULT_POSITIONS); + currentGame = null; batLeft.style.backgroundColor = DEFAULT_COLOR; batRight.style.backgroundColor = DEFAULT_COLOR; socket.on('updateInformation', (e) => { - showInfo(`UpdateInformation: t=${e.totalUser};q=${e.inQueue};g=${e.totalGames}`); queue_infos.innerText = `${e.totalUser}👤 ${e.inQueue}⏳ ${e.totalGames}▮•▮`; }); socket.on('queueEvent', (e) => showInfo(`QueueEvent: ${e}`));