Join lobby error checking
This commit is contained in:
parent
9b36da6cf4
commit
00717ea2fe
@ -67,6 +67,8 @@ func _on_lobby_joined(this_lobby_id: int, _permissions: int, _locked: bool, resp
|
||||
lobby_id = this_lobby_id
|
||||
get_lobby_members()
|
||||
make_p2p_handshake()
|
||||
else:
|
||||
GameConsole.log_error("Failed to join lobby: " + str(this_lobby_id) + " with response: " + str(response))
|
||||
|
||||
|
||||
func read_all_p2p_packets(read_count: int = 0) -> void:
|
||||
@ -94,6 +96,7 @@ func create_lobby() -> void:
|
||||
|
||||
|
||||
func join_lobby(this_lobby_id: int) -> void:
|
||||
GameConsole.print_line("Joining lobby: " + str(this_lobby_id))
|
||||
Steam.joinLobby(lobby_id)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user