diff --git a/scenes/map/map.tscn b/scenes/map/map.tscn index d195ff8..9eca8c5 100644 --- a/scenes/map/map.tscn +++ b/scenes/map/map.tscn @@ -9,6 +9,13 @@ [node name="characterViewer" parent="." instance=ExtResource("2_7des0")] visible = false +anchors_preset = 0 +anchor_right = 0.0 +anchor_bottom = 0.0 +offset_right = 800.0 +offset_bottom = 500.0 +grow_horizontal = 1 +grow_vertical = 1 [node name="back" type="Button" parent="."] visible = false diff --git a/scripts/mapscript.gd b/scripts/mapscript.gd index 689f56e..e88a2c5 100644 --- a/scripts/mapscript.gd +++ b/scripts/mapscript.gd @@ -22,8 +22,8 @@ func stats(): get_node(objectName).stop() $"../back".disabled = false $"../back".visible = true - $"../characterViewer".get_child(1).text = str(playerIndex-1) - $"../characterViewer".get_child(1).editable = false + $"../characterViewer/ScrollContainer/VBoxContainer".get_child(1).text = str(playerIndex-1) + $"../characterViewer/ScrollContainer/VBoxContainer".get_child(1).editable = false $"../characterViewer"._on_button_pressed() func restart():