diff --git a/src/lib/Scoreboard.svelte b/src/lib/Scoreboard.svelte index 99a22ed..cde5d63 100644 --- a/src/lib/Scoreboard.svelte +++ b/src/lib/Scoreboard.svelte @@ -44,7 +44,7 @@ {player.points} {/if} - {player.name} + {player.name} {/each} diff --git a/src/routes/connected/games/[game]/+page.svelte b/src/routes/connected/games/[game]/+page.svelte index 0aa65b8..ba27b06 100644 --- a/src/routes/connected/games/[game]/+page.svelte +++ b/src/routes/connected/games/[game]/+page.svelte @@ -68,8 +68,6 @@ public answerIsShowing = $state(false); public questionIsShowing = $state(false); - public pointsGivenForCurrentQuestion = $state(false); - constructor(game: Game) { this.game = game; } @@ -190,7 +188,6 @@ } else { player.points += this.question.points; } - this.pointsGivenForCurrentQuestion = true; this.sendPlayers(); } @@ -212,7 +209,6 @@ setupGoingBack(): void { this.answerIsShowing = false; this.questionIsShowing = false; - this.pointsGivenForCurrentQuestion = false; } finishQuestion(): void { @@ -350,7 +346,7 @@

Type of question unknown

{/if} -
+
{#if gameManager.questionIsShowing}