Added propper disconnect behaviour

This commit is contained in:
Sch1nken 2024-03-24 03:45:43 +01:00
parent c4909db2a5
commit 10066090b1
3 changed files with 22 additions and 0 deletions

View file

@ -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()