extends Control var map_contrller: MapController # Called when the node enters the scene tree for the first time. func _ready() -> void: map_contrller = find_parent("Map") # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass func _on_blue_pressed() -> void: GameServerAutoload.select_side.rpc_id(1, "blue") map_contrller._request_spawn.rpc_id(1) visible = false func _on_red_pressed() -> void: GameServerAutoload.select_side.rpc_id(1, "red") map_contrller._request_spawn.rpc_id(1) visible = false