fix: card board now stores an array, instead of an array of arrays
This commit is contained in:
parent
221fc5e9af
commit
e3e98a05f2
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue