Rename retire to renounce.

This commit is contained in:
Relintai 2020-03-20 14:48:29 +01:00
parent fa5b987d0d
commit a8868d81dc
2 changed files with 4 additions and 5 deletions

View File

@ -110,7 +110,7 @@ func clear() -> void:
for e in player_display_container_node.get_children(): for e in player_display_container_node.get_children():
e.queue_free() e.queue_free()
func retire_character() -> void: func renounce_character() -> void:
var b : BaseButton = character_button_group.get_pressed_button() var b : BaseButton = character_button_group.get_pressed_button()
if b == null: if b == null:
@ -178,4 +178,3 @@ func character_selection_changed() -> void:
e.get_body().hide() e.get_body().hide()
b.entity.get_body().show() b.entity.get_body().show()

View File

@ -164,12 +164,12 @@ margin_top = 526.0
margin_right = 261.0 margin_right = 261.0
margin_bottom = 552.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_right = 128.0
margin_bottom = 26.269 margin_bottom = 26.269
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
text = "Retire" text = "Renounce"
[node name="Create" type="Button" parent="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/HBoxContainer"] [node name="Create" type="Button" parent="CharacterSelectorMenu/CharacterSelector/CharacterSelector/VBoxContainer/HBoxContainer"]
margin_left = 132.0 margin_left = 132.0
@ -589,7 +589,7 @@ light_specular = 0.65
shadow_bias = 0.07 shadow_bias = 0.07
script = ExtResource( 19 ) 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/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="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/Create" to="CharacterCreationMenu" method="create"]
[connection signal="pressed" from="CharacterCreationMenu/CharacterSelector2/CharacterSelector/VBoxContainer/PanelContainer/VBoxContainer/Back" to="." method="switch_to_menu" binds= [ 0 ]] [connection signal="pressed" from="CharacterCreationMenu/CharacterSelector2/CharacterSelector/VBoxContainer/PanelContainer/VBoxContainer/Back" to="." method="switch_to_menu" binds= [ 0 ]]