Late connection
This commit is contained in:
parent
59bf07b076
commit
63209ccc1e
9 changed files with 73 additions and 23 deletions
|
|
@ -3,13 +3,5 @@ extends Node
|
|||
func _ready() -> void:
|
||||
Lobby.lobby_joined.connect(on_lobby_joined)
|
||||
|
||||
func _on_leave_button_pressed() -> void:
|
||||
Lobby.leave()
|
||||
$"../..".hide()
|
||||
$"../../../MainMenu".show()
|
||||
|
||||
func _on_start_button_pressed() -> void:
|
||||
Lobby.start_game.rpc()
|
||||
|
||||
func on_lobby_joined() -> void:
|
||||
$StartButton.hide()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue