fix(multi): stay on game screen between rounds instead of redirecting to lobby

This commit is contained in:
jessy-david-dev
2026-04-11 22:19:25 +02:00
parent 1aad4d74a9
commit b76fbf8789
2 changed files with 20 additions and 2 deletions
+2 -2
View File
@@ -50,12 +50,12 @@ export function useGameHandlers({
async function handleNextRound() {
await multi.nextRound();
setScreen("lobby");
// On reste sur "game" — le GameScreen affiche le lobby quand phase === "waiting"
}
async function handleResetGame() {
await multi.resetGame();
setScreen("lobby");
// On reste sur "game" — le GameScreen affiche le lobby quand phase === "waiting"
}
function handleLeave() {