10 lines
242 B
GDScript
10 lines
242 B
GDScript
extends Control
|
|
|
|
|
|
func _ready():
|
|
Server.create_game()
|
|
|
|
|
|
func _on_start_pressed():
|
|
Server.send_playerinfo(get_tree().root.get_node("create/player_customization/name").text, multiplayer.get_unique_id())
|
|
Server.start_game.rpc(Server.players)
|