Track real first attempt question stats

This commit is contained in:
hz
2026-07-11 01:42:18 -05:00
parent e991dccbb2
commit 8a86734a0b
13 changed files with 297 additions and 6 deletions
@@ -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():