diff --git a/cards.tres b/cards.tres index e4debd9..e5f7591 100644 --- a/cards.tres +++ b/cards.tres @@ -1,4 +1,4 @@ -[gd_resource type="Theme" load_steps=2 format=3 uid="uid://cj3vs5hq2mcbp"] +[gd_resource type="Theme" load_steps=2 format=3 uid="uid://qe383ytjm3v"] [ext_resource type="FontFile" uid="uid://ncoq4i61plvt" path="res://assets/Bohemian Soul.otf" id="1_yowck"] diff --git a/demo_game.tscn b/demo_game.tscn index fb4877e..d4c8e2d 100644 --- a/demo_game.tscn +++ b/demo_game.tscn @@ -4,7 +4,7 @@ [ext_resource type="Script" path="res://player_side.gd" id="2_w4tnt"] [ext_resource type="Script" path="res://tcg/card/card.gd" id="2_xuft0"] [ext_resource type="PackedScene" uid="uid://cikstg43mudkn" path="res://tcg/match/match_manager.tscn" id="3_3yhrl"] -[ext_resource type="Resource" path="res://data/cards/monster/capytain.tres" id="3_we1tk"] +[ext_resource type="Resource" uid="uid://cs7q8i7bvohmj" path="res://data/cards/monster/capytain.tres" id="3_we1tk"] [ext_resource type="Resource" uid="uid://4eod3m0vc5a8" path="res://data/cards/support/potion.tres" id="4_kkhfk"] [ext_resource type="Resource" uid="uid://deo8mj887rfx1" path="res://data/cards/monster/axoluna.tres" id="5_3cm5x"] [ext_resource type="PackedScene" uid="uid://bhrelvt51cbp2" path="res://ui/card_template/monster_card.tscn" id="7_4ah45"] diff --git a/player_side.gd b/player_side.gd index df76a72..5bfcd9e 100644 --- a/player_side.gd +++ b/player_side.gd @@ -33,6 +33,8 @@ func _ready(): support1_green.visible = false support2_green.visible = false support2_red.visible = false + for child in deck.get_children(): + child.queue_free() func _on_update(transition): selected_card = null