cards in first turn get put in hand turned around
This commit is contained in:
@@ -47,6 +47,8 @@ func add_cards(card_ids: Array[int], is_owned: bool) -> void:
|
|||||||
card.card_clicked.connect(_on_card_clicked)
|
card.card_clicked.connect(_on_card_clicked)
|
||||||
card.setup_card_details(card_id)
|
card.setup_card_details(card_id)
|
||||||
add_card(card)
|
add_card(card)
|
||||||
|
if card_ids.size() == 1:
|
||||||
|
card.rotate_y(PI)
|
||||||
await get_tree().create_timer(0.16).timeout
|
await get_tree().create_timer(0.16).timeout
|
||||||
|
|
||||||
func remove_card_by_id(card_id: int) -> void:
|
func remove_card_by_id(card_id: int) -> void:
|
||||||
|
|||||||
Reference in New Issue
Block a user