Creating lobby updates #8

Merged
gskeough merged 4 commits from feature/lobby_update into develop 2024-12-19 02:56:56 +00:00
Showing only changes of commit e90d9444d4 - Show all commits

View File

@ -29,6 +29,7 @@ func _ready() -> void:
func _on_host():
NetworkManager.host_lobby()
show_lobbies_button.disabled = true
func _on_leave():
@ -60,6 +61,11 @@ func _on_lobbies_received(these_lobbies: Array):
# Add the new lobby to the list
lobby_list_box.add_child(lobby_button)
func join_lobby(lobby_id: int):
NetworkManager.join_lobby(lobby_id)
func _on_lobby_created(lobby_id: int):
print("Lobby created")