extends Control onready var Location = JavaScript.get_interface("location") func _ready(): if Location and Location.hash != "": ## TODO # join_room(location.hash) pass $Buttons/Host.connect("pressed", self, "host_pressed") func host_pressed(): if Location: Location.hash = "#blarg" get_tree().change_scene("res://Scenes/Lobby.tscn")