mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
fix(game): reset managerStatus before broadcasting prepared status
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user