diff --git a/src-tauri/src/networking/relay.rs b/src-tauri/src/networking/relay.rs index cea7968..adbc7e6 100644 --- a/src-tauri/src/networking/relay.rs +++ b/src-tauri/src/networking/relay.rs @@ -103,7 +103,7 @@ async fn run_relay_proxy( .await .map_err(|e| format!("Proxy connect failed: {}", e))?; - write_line(&mut stream, &format!("JOIN {} {}", auth_token, target_session)).await?; + write_line(&mut stream, &format!("JOIN {} 0 {}", auth_token, target_session)).await?; let listener = TcpListener::bind("0.0.0.0:61000") .await .map_err(|e| format!("Bind failed: {}", e))?; @@ -242,4 +242,4 @@ pub async fn join_game( port: host_port, }; crate::commands::game::launch_game(app, game_state, instance_id, vec![server], vec![]).await -} \ No newline at end of file +}