forked from interstellar_development/freeftf
Milestone 6 Beta 2
Reworked multiplayer, like a lot.
This commit is contained in:
parent
17ece77b7c
commit
9de67986dd
17 changed files with 309 additions and 89 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue