fix: card board now stores an array, instead of an array of arrays

This commit is contained in:
betalars 2023-07-19 22:43:44 +02:00
parent 221fc5e9af
commit e3e98a05f2
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ func _process(delta):
func populate_board(card_names: Array): func populate_board(card_names: Array):
mementos_collected += 1 mementos_collected += 1
cache.append(card_names) cache.append_array(card_names)
if mementos_collected < 4: return if mementos_collected < 4: return
else: card_names = cache else: card_names = cache