Track real first attempt question stats
This commit is contained in:
@@ -123,6 +123,16 @@ func reset_profile() -> void:
|
||||
profile_changed.emit()
|
||||
|
||||
|
||||
func reset_qbank_memory() -> void:
|
||||
_ensure_tracking_fields()
|
||||
profile["completed_question_ids"] = []
|
||||
profile["correct_question_ids"] = []
|
||||
profile["question_wrong_counts"] = {}
|
||||
profile["missed_question_ids"] = []
|
||||
save_profile()
|
||||
profile_changed.emit()
|
||||
|
||||
|
||||
func apply_question_results(results: Dictionary) -> void:
|
||||
_ensure_daily_current()
|
||||
profile["xp"] = int(profile["xp"]) + int(results.get("xp_earned", 0))
|
||||
|
||||
Reference in New Issue
Block a user