11 lines
242 B
GDScript3
11 lines
242 B
GDScript3
|
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)
|