From 16e0fc8006e137764e19df5ce42f709c12efe890 Mon Sep 17 00:00:00 2001 From: Ralex <95540504+Ralex91@users.noreply.github.com> Date: Sun, 26 Oct 2025 18:39:06 +0100 Subject: [PATCH] fix(game): reset managerStatus before broadcasting prepared status --- packages/socket/src/services/game.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/socket/src/services/game.ts b/packages/socket/src/services/game.ts index 435e83a..61352f6 100644 --- a/packages/socket/src/services/game.ts +++ b/packages/socket/src/services/game.ts @@ -331,6 +331,7 @@ class Game { total: this.quizz.questions.length, }) + this.managerStatus = null this.broadcastStatus(STATUS.SHOW_PREPARED, { totalAnswers: question.answers.length, questionNumber: this.round.currentQuestion + 1, @@ -370,7 +371,7 @@ class Game { return } - await this.showResults(question) + this.showResults(question) } showResults(question: any) {