forked from interstellar_development/freeftf
Milestone 8 preparations 1
This commit is contained in:
parent
8b97a6ee7e
commit
c9211b444e
26 changed files with 101 additions and 104 deletions
|
|
@ -10,7 +10,7 @@
|
|||
extends Control
|
||||
|
||||
func matchmaking():
|
||||
get_tree().root.get_node("./main_menu").hide()
|
||||
Matchmaking.create_game()
|
||||
|
||||
func _ready():
|
||||
Game.reset()
|
||||
|
|
@ -18,7 +18,7 @@ func _ready():
|
|||
$main_content/matchmaking.hide()
|
||||
$main_content/matchmaking.disabled = true
|
||||
if DisplayServer.get_name() == "headless":
|
||||
_on_matchmaking_pressed()
|
||||
matchmaking()
|
||||
|
||||
func _on_join_pressed():
|
||||
get_tree().change_scene_to_file("res://menus/create.tscn")
|
||||
|
|
@ -27,9 +27,3 @@ func _on_join_pressed():
|
|||
|
||||
func _on_settings_pressed():
|
||||
get_tree().change_scene_to_file("res://menus/settings.tscn")
|
||||
|
||||
|
||||
func _on_matchmaking_pressed():
|
||||
Matchmaking.create_game()
|
||||
matchmaking()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue