From a82949ace7e2cd7e3da7d7017df877e9b01b2041 Mon Sep 17 00:00:00 2001 From: patrick_pluto Date: Wed, 21 Aug 2024 19:17:22 +0200 Subject: [PATCH] Milestone 8 Final --- menus/main_menu.tscn | 2 +- scripts/matchmaking.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/menus/main_menu.tscn b/menus/main_menu.tscn index bad1afe..f7e679d 100644 --- a/menus/main_menu.tscn +++ b/menus/main_menu.tscn @@ -60,7 +60,7 @@ grow_vertical = 0 [node name="Label" type="Label" parent="ver_string"] layout_mode = 2 theme_override_font_sizes/font_size = 32 -text = "M7" +text = "M8" horizontal_alignment = 2 [connection signal="pressed" from="main_content/join" to="." method="_on_join_pressed"] diff --git a/scripts/matchmaking.gd b/scripts/matchmaking.gd index 5efb28d..46cc4f9 100644 --- a/scripts/matchmaking.gd +++ b/scripts/matchmaking.gd @@ -30,7 +30,7 @@ func create_game(): func _on_player_disconnected(id): while multiplayer.is_server(): - for i in range(5000): + for i in range(1000): if id in multiplayer.get_peers(): break await get_tree().create_timer(0.001).timeout