added the 0 to create_client

This commit is contained in:
2025-08-07 12:51:54 -05:00
parent 74dab08fb2
commit 420d6ef950

View File

@@ -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