Track real first attempt question stats
This commit is contained in:
@@ -198,6 +198,15 @@ func get_answer_for_index(index: int) -> Variant:
|
||||
return answers[index]
|
||||
|
||||
|
||||
func update_question_choice_percentages(question_id: String, percentages: Dictionary) -> void:
|
||||
for index in range(active_questions.size()):
|
||||
var question: Dictionary = active_questions[index]
|
||||
if str(question.get("id", "")) == question_id:
|
||||
question["choice_selection_percentages"] = percentages
|
||||
active_questions[index] = question
|
||||
break
|
||||
|
||||
|
||||
func advance_core_question() -> bool:
|
||||
var question := _draw_core_question()
|
||||
if question.is_empty():
|
||||
|
||||
Reference in New Issue
Block a user