Skip to content

Commit

Permalink
Update name of LAN tab enum
Browse files Browse the repository at this point in the history
Change title label of LAN menu
  • Loading branch information
Kvel2D committed Nov 14, 2024
1 parent 29dd162 commit 17547a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/title_screen/lan_match/lan_connect_menu.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ theme_override_constants/separation = 5
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
theme_type_variation = &"LabelLarge"
text = "LAN Matches"
text = "LAN Multiplayer"
horizontal_alignment = 1

[node name="GridContainer" type="GridContainer" parent="VBoxContainer"]
Expand Down
8 changes: 4 additions & 4 deletions src/title_screen/title_screen.gd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ enum Tab {
MAIN,
CONFIGURE_SINGLEPLAYER,
ONLINE_MATCH_LIST,
LAN_MATCH_LIST,
LAN_CONNECT_MENU,
CREATE_ONLINE_MATCH,
CREATE_LAN_MATCH,
ONLINE_LOBBY,
Expand Down Expand Up @@ -126,11 +126,11 @@ func _on_settings_menu_ok_pressed():


func _on_lan_lobby_menu_back_pressed():
_tab_container.current_tab = Tab.LAN_MATCH_LIST
_tab_container.current_tab = Tab.LAN_CONNECT_MENU


func _on_create_lan_match_menu_cancel_pressed():
_tab_container.current_tab = Tab.LAN_MATCH_LIST
_tab_container.current_tab = Tab.LAN_CONNECT_MENU


func _on_profile_button_pressed():
Expand All @@ -146,4 +146,4 @@ func _on_create_online_match_menu_cancel_pressed():


func _on_online_match_list_menu_lan_pressed() -> void:
_tab_container.current_tab = Tab.LAN_MATCH_LIST
_tab_container.current_tab = Tab.LAN_CONNECT_MENU

0 comments on commit 17547a7

Please sign in to comment.