summaryrefslogtreecommitdiff
path: root/scripts/ServerBrowser.gd
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2025-08-22 12:46:04 -0700
committerAnson Bridges <bridges.anson@gmail.com>2025-08-22 12:46:04 -0700
commit64f37f4209d80bfad976dd4a139c98002caef15f (patch)
tree94c91953986e960573ae0092f8ad7120c1c266f0 /scripts/ServerBrowser.gd
parent255fbf19cc9499ef384d41f68515da5e49e8a3ce (diff)
the harmonious transition from menu to gameHEADmaster
Diffstat (limited to 'scripts/ServerBrowser.gd')
-rw-r--r--scripts/ServerBrowser.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/ServerBrowser.gd b/scripts/ServerBrowser.gd
index 410eec2..41f478a 100644
--- a/scripts/ServerBrowser.gd
+++ b/scripts/ServerBrowser.gd
@@ -18,6 +18,11 @@ func _ready():
$RefreshButton.connect("pressed", self, "refresh_game_list")
$HostPopup/Control/PrivateToggle.connect("toggled", self, "toggle_password_vis")
$Username.connect("text_changed", $HostPopup/Control/GameName, "set_text")
+ $HostPopup/Control/PlayerCount.connect("item_selected", self, "test_select_signal")
+
+
+func test_select_signal(index):
+ print("selected %d" % index)
func join_game():
$HostPopup.visible = false
@@ -53,6 +58,7 @@ func add_games_to_list(games):
game_ids.append( game["id"] )
func toggle_password_vis(pressed):
+ $HostPopup/Control/PlayerCount.select(3)
$HostPopup/Control/Password.visible = pressed