diff --git a/apps/client/src/components/game/prompt.tsx b/apps/client/src/components/game/prompt.tsx index 09cbd4e1..62dd6584 100644 --- a/apps/client/src/components/game/prompt.tsx +++ b/apps/client/src/components/game/prompt.tsx @@ -47,13 +47,14 @@ const Prompt = ({ const gameId = gameInfo.game.id; const userId = session.user.id; - const userGameRoundGenerations = gameInfo.gameRoundGenerations.filter( - (generation) => generation.user.id === userId, - ); - const currRound = state.context.round; const maxRegenerations = 3; + const userGameRoundGenerations = gameInfo.gameRoundGenerations.filter( + (generation) => + generation.user.id === userId && generation.question.round === currRound, + ); + const isSecondStage = userGameRoundGenerations.length > 1 && userGameRoundGenerations.some(