This repository has been archived on 2023-12-19. You can view files and clone it, but cannot push or open issues or pull requests.
MUR/scripts/menus/direct_join.gd
2019-07-23 19:49:04 +02:00

16 lines
253 B
GDScript

extends Control
func _draw():
find_node("join").grab_focus()
func _on_join_pressed():
var ip = find_node("ip").text
var port = find_node("port").get_value()
client.join_game(ip, int(port))
queue_free()
func _on_back_pressed():
queue_free()