diff --git a/src/routes/connected/games/[game]/+page.svelte b/src/routes/connected/games/[game]/+page.svelte index 9a78244..a87159e 100644 --- a/src/routes/connected/games/[game]/+page.svelte +++ b/src/routes/connected/games/[game]/+page.svelte @@ -267,7 +267,7 @@ } finishQuestion(): void { - if (this.visitedQuestions[this.currentCategory] === undefined) { + if (this.visitedQuestions[this.currentCategory] == undefined) { this.visitedQuestions[this.currentCategory] = [this.currentQuestion]; } else if ( !this.visitedQuestions[this.currentCategory].includes(this.currentQuestion)