From bb78d7f5af80b1c274250669f9852b2f3b93be2e Mon Sep 17 00:00:00 2001 From: Jonas Kappa Date: Fri, 12 Sep 2025 14:48:42 +0200 Subject: [PATCH] Hotfix null --- src/routes/connected/games/[game]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)