Milestone 6 Beta 2

Reworked multiplayer, like a lot.
This commit is contained in:
patrick_pluto 2024-08-06 23:28:40 +02:00
commit 9de67986dd
17 changed files with 309 additions and 89 deletions

View file

@ -13,8 +13,13 @@ func matchmaking():
get_tree().root.get_node("./main_menu").hide()
func _ready():
Game.reset()
Server.reset()
if !OS.is_debug_build():
$main_content/matchmaking.hide()
$main_content/matchmaking.disabled = true
if DisplayServer.get_name() == "headless":
_on_matchmaking_pressed()
func _on_create_pressed():
get_tree().change_scene_to_file("res://menus/create.tscn")