fix intempestive ready

This commit is contained in:
bgoulard 2026-01-14 17:03:34 +01:00 committed by Maix0
parent 52e511e443
commit cca246c751

View file

@ -342,6 +342,7 @@ function pongClient(
};
socket.on("gameUpdate", (state: GameUpdate) => {
ready.classList.add("hidden");
updateCurrentGame(state);
render(state, playBatL, playBatR, ball, playInfo);
});