fix(client): use instance= syntax for embedded scenes in CollectionScreen
CardsView and DecksView were incorrectly attached via script=ExtResource() pointing at PackedScene resources. Godot requires instance=ExtResource() for scene embedding — this caused a fatal load error at export time. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -83,7 +83,7 @@ theme_override_font_sizes/font_size = 14
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="CardsView" type="VBoxContainer" parent="ContentArea"]
|
||||
[node name="CardsView" parent="ContentArea" instance=ExtResource("2_cv")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -91,9 +91,8 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("2_cv")
|
||||
|
||||
[node name="DecksView" type="VBoxContainer" parent="ContentArea"]
|
||||
[node name="DecksView" parent="ContentArea" instance=ExtResource("3_dv")]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
@@ -102,4 +101,3 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
visible = false
|
||||
script = ExtResource("3_dv")
|
||||
|
||||
Reference in New Issue
Block a user