diff options
Diffstat (limited to 'UI/CharacterSelect.gd')
-rw-r--r-- | UI/CharacterSelect.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/UI/CharacterSelect.gd b/UI/CharacterSelect.gd index 348ef22..96b228c 100644 --- a/UI/CharacterSelect.gd +++ b/UI/CharacterSelect.gd @@ -49,4 +49,8 @@ func _button_pressed(event, character): func _on_start_button_pressed(): + rpc("_start_game") + + +@rpc("any_peer", "call_local") func _start_game(): get_tree().change_scene_to_file("res://UI/LevelSelect.tscn") |