fix: evaluations now count correctly

This commit is contained in:
tiger tiger tiger 2026-01-21 23:36:11 +01:00
parent b5a4bd2896
commit 75c2200bd8
1 changed files with 4 additions and 5 deletions

View File

@ -289,8 +289,7 @@ func give_lore_feedback():
var fitting_card_count: int = 0 var fitting_card_count: int = 0
var total_card_count: int = 0 var total_card_count: int = 0
for child in dropzone.get_children(): for child in cards:
if child is Card:
if child.has_note_attached(): if child.has_note_attached():
fitting_card_count += int(child.card_id == child.get_attached_note().parent_id) fitting_card_count += int(child.card_id == child.get_attached_note().parent_id)
total_card_count += 1 total_card_count += 1