Internet/Local/Hotseat working (still need to test for bugs). ALso get an RPC error because we switch scene...

This commit is contained in:
Sch1nken 2024-03-24 03:30:54 +01:00
parent c95b8186ab
commit c4909db2a5
654 changed files with 18133 additions and 39 deletions

View file

@ -43,12 +43,7 @@ func _on_rules_button_pressed():
func _on_online_button_pressed():
pass # Replace with function body.
func _on_online_button_2_pressed():
get_tree().change_scene_to_file("res://UI/join_menu.tscn")
get_tree().change_scene_to_file("res://UI/Lobby/WebRTCLobby.tscn")
func _on_local_button_pressed():
GameData.is_hot_seat = true
@ -61,3 +56,7 @@ func _on_settings_button_pressed():
get_tree().root.add_child(settings)
settings.show_panel()
func _on_lan_button_pressed():
get_tree().change_scene_to_file("res://UI/Lobby/LANLobby.tscn")