added the 0 to create_client
This commit is contained in:
@@ -118,7 +118,7 @@ func setup_multiplayer_peer(is_host: bool = false) -> void:
|
|||||||
|
|
||||||
var host_id = Steam.getLobbyOwner(lobby_id)
|
var host_id = Steam.getLobbyOwner(lobby_id)
|
||||||
print("[Multiplayer] Creating Client, attempting to connect to host: %s" % host_id)
|
print("[Multiplayer] Creating Client, attempting to connect to host: %s" % host_id)
|
||||||
var err = peer.create_client(host_id) ## REMOVED: Channel is handled by the peer automatically.
|
var err = peer.create_client(host_id, 0) ## REMOVED: Channel is handled by the peer automatically.
|
||||||
if err != OK:
|
if err != OK:
|
||||||
print("[Multiplayer] !!! Failed to create client. Error: %s" % err)
|
print("[Multiplayer] !!! Failed to create client. Error: %s" % err)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user