diff --git a/src/main.rs b/src/main.rs index 6c8691a..9dd7892 100644 --- a/src/main.rs +++ b/src/main.rs @@ -515,7 +515,7 @@ async fn handle_connection( else if text == "PLAYER:LIST" { let clients_guard = clients.read().await; - let mut to_send = "GAME:LIST:".to_string(); + let mut to_send = "PLAYER:LIST:".to_string(); for client_guard in clients_guard.values() { let player = client_guard.read().await; to_send += player.username.as_str(); to_send += ",";