Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions nohub.gd/browser.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ func _disconnect() -> void:
_connection = null
_client = null

set_selected_lobby(null)
lobby_list.clear()
_lobbies_in_list.clear()
address_label.text = \"\"
Expand Down Expand Up @@ -190,6 +191,10 @@ func _select_lobby(clicked_idx: int, _selected: bool = true) -> void:
# User clicked header row, do nothing
return

if _lobbies_in_list.size() - 1 < row_idx:
# Row is not present
return

var lobby := _lobbies_in_list[row_idx]
set_selected_lobby(lobby)

Expand Down
Loading