diff --git a/src/logic-scenes/board/card-board.gd b/src/logic-scenes/board/card-board.gd index d55b3af..2e0cace 100644 --- a/src/logic-scenes/board/card-board.gd +++ b/src/logic-scenes/board/card-board.gd @@ -289,11 +289,10 @@ func give_lore_feedback(): var fitting_card_count: int = 0 var total_card_count: int = 0 - for child in dropzone.get_children(): - if child is Card: - if child.has_note_attached(): - fitting_card_count += int(child.card_id == child.get_attached_note().parent_id) - total_card_count += 1 + for child in cards: + if child.has_note_attached(): + fitting_card_count += int(child.card_id == child.get_attached_note().parent_id) + total_card_count += 1 if float(fitting_card_count) / float(total_card_count) < 0.2: instructions.text = "You can move on, but you may not have understood Lisa."