New timer, kahoot-like-mode icons and more small improvements

This commit is contained in:
Mawoka
2022-09-18 19:31:55 +02:00
parent e6aeb9dfd1
commit 7abd7bada0
9 changed files with 439 additions and 181 deletions
+1 -1
View File
@@ -311,4 +311,4 @@ async def set_next_question(game_pin: int, question_number: int):
redis_res = await redis.get(f"game:{game_pin}")
if redis_res is None:
raise HTTPException(status_code=404, detail="Game not found")
sio.emit("set_question_number", question_number, room=game_pin)
await sio.emit("set_question_number", question_number, room=game_pin)