freeftf/scripts/create.gd

11 lines
242 B
GDScript3
Raw Normal View History

2024-08-02 20:13:42 +02:00
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)