🚑 Fixed bug with slides
This commit is contained in:
@@ -243,6 +243,7 @@ async def set_question_number(sid, data: str):
|
|||||||
},
|
},
|
||||||
room=sid,
|
room=sid,
|
||||||
)
|
)
|
||||||
|
return
|
||||||
if game_data.questions[int(float(data))].type == QuizQuestionType.VOTING:
|
if game_data.questions[int(float(data))].type == QuizQuestionType.VOTING:
|
||||||
for i in range(len(temp_return["answers"])):
|
for i in range(len(temp_return["answers"])):
|
||||||
temp_return["answers"][i] = VotingQuizAnswer(**temp_return["answers"][i])
|
temp_return["answers"][i] = VotingQuizAnswer(**temp_return["answers"][i])
|
||||||
|
|||||||
Reference in New Issue
Block a user