6 lines
170 B
GDScript
6 lines
170 B
GDScript
extends Control
|
|
|
|
func _on_join_button_pressed() -> void:
|
|
MultiplayerManager.connect_to_ip(%IpTextBox.text)
|
|
get_tree().change_scene_to_file("res://scenes/in_game.tscn")
|