Added propper disconnect behaviour
This commit is contained in:
parent
c4909db2a5
commit
10066090b1
3 changed files with 22 additions and 0 deletions
|
|
@ -34,4 +34,5 @@ func load_game() -> void:
|
|||
get_tree().change_scene_to_file("res://Game.tscn")
|
||||
|
||||
func _on_start_game_button_pressed():
|
||||
Networking.seal_webrtc()
|
||||
load_game.rpc()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue