Fix for immediately closing inventory

This commit is contained in:
MaddoScientisto 2025-12-30 15:27:37 +01:00
commit c11acda1df
4 changed files with 93 additions and 26 deletions

View file

@ -327,7 +327,7 @@ offset_right = 354.0
offset_bottom = 198.0
theme_override_styles/panel = ExtResource("20_0ncp3")
[node name="InventoryMenu" type="TabContainer" parent="Control"]
[node name="InventoryMenu" type="TabContainer" parent="Control" node_paths=PackedStringArray("ParentContainer")]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@ -345,6 +345,7 @@ theme = ExtResource("9_sx5r0")
theme_override_fonts/font = ExtResource("6_sk1eq")
current_tab = 4
script = ExtResource("11_7pulb")
ParentContainer = NodePath("..")
metadata/_edit_group_ = true
[node name="Weapons" type="ItemList" parent="Control/InventoryMenu"]