steam ui join 2
This commit is contained in:
@@ -38,8 +38,6 @@ func _ready() -> void:
|
|||||||
multiplayer.server_relay = true
|
multiplayer.server_relay = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func _process(delta):
|
func _process(delta):
|
||||||
if not steam_initialized:
|
if not steam_initialized:
|
||||||
return
|
return
|
||||||
@@ -76,7 +74,7 @@ func join_lobby(this_lobby_id: int):
|
|||||||
|
|
||||||
func _on_lobby_join_requested(this_lobby_id: int, friend_id: int) -> void:
|
func _on_lobby_join_requested(this_lobby_id: int, friend_id: int) -> void:
|
||||||
print("[CLIENT] 1. Attempting to join lobby (ID: %s)..." % this_lobby_id)
|
print("[CLIENT] 1. Attempting to join lobby (ID: %s)..." % this_lobby_id)
|
||||||
Steam.joinLobby(this_lobby_id)
|
join_lobby(this_lobby_id)
|
||||||
|
|
||||||
|
|
||||||
func _on_lobby_joined(this_lobby_id: int, _p, _l, response: int):
|
func _on_lobby_joined(this_lobby_id: int, _p, _l, response: int):
|
||||||
|
|||||||
Reference in New Issue
Block a user