From a8868d81dcdedad1acb50ae37cc576001cda6f47 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 20 Mar 2020 14:48:29 +0100 Subject: [PATCH] Rename retire to renounce. --- game/scenes/CharacterSelectorMenu.gd | 3 +-- game/scenes/Menu.tscn | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/game/scenes/CharacterSelectorMenu.gd b/game/scenes/CharacterSelectorMenu.gd index fac3dfde..2db5efa5 100644 --- a/game/scenes/CharacterSelectorMenu.gd +++ b/game/scenes/CharacterSelectorMenu.gd @@ -110,7 +110,7 @@ func clear() -> void: for e in player_display_container_node.get_children(): e.queue_free() -func retire_character() -> void: +func renounce_character() -> void: var b : BaseButton = character_button_group.get_pressed_button() if b == null: @@ -178,4 +178,3 @@ func character_selection_changed() -> void: e.get_body().hide() b.entity.get_body().show() - diff --git a/game/scenes/Menu.tscn b/game/scenes/Menu.tscn index 58ad0f44..bfa86a8b 100644 --- a/game/scenes/Menu.tscn +++ b/game/scenes/Menu.tscn @@ -164,12 +164,12 @@ margin_top = 526.0 margin_right = 261.0 margin_bottom = 552.0 -[node name="Retire" type="Button" parent="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/HBoxContainer"] +[node name="Renounce" type="Button" parent="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/HBoxContainer"] margin_right = 128.0 margin_bottom = 26.269 size_flags_horizontal = 3 size_flags_vertical = 3 -text = "Retire" +text = "Renounce" [node name="Create" type="Button" parent="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/HBoxContainer"] margin_left = 132.0 @@ -589,7 +589,7 @@ light_specular = 0.65 shadow_bias = 0.07 script = ExtResource( 19 ) [connection signal="pressed" from="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/Load" to="CharacterSelectorMenu" method="load_character"] -[connection signal="pressed" from="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/HBoxContainer/Retire" to="CharacterSelectorMenu" method="retire_character"] +[connection signal="pressed" from="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/HBoxContainer/Renounce" to="CharacterSelectorMenu" method="renounce_character"] [connection signal="pressed" from="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/HBoxContainer/Create" to="." method="switch_to_menu" binds= [ 1 ]] [connection signal="pressed" from="CharacterCreationMenu/CharacterSelector2/CharacterSelector/VBoxContainer/PanelContainer/VBoxContainer/Create" to="CharacterCreationMenu" method="create"] [connection signal="pressed" from="CharacterCreationMenu/CharacterSelector2/CharacterSelector/VBoxContainer/PanelContainer/VBoxContainer/Back" to="." method="switch_to_menu" binds= [ 0 ]]