From 8d7b51707f034adb4cd98050e9f0d075b31894b1 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Fri, 19 May 2023 07:04:24 +0200 Subject: [PATCH] add todo comments --- kubi-server/src/auth.rs | 3 ++- kubi-server/src/client.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kubi-server/src/auth.rs b/kubi-server/src/auth.rs index f41a5a0..a907cf3 100644 --- a/kubi-server/src/auth.rs +++ b/kubi-server/src/auth.rs @@ -155,7 +155,8 @@ pub fn authenticate_players( init: init_data.user.clone() }; for (other_client_addr, _) in client_addr_map.0.iter() { - //TODO: ONLY JOINED CLIENTS HERE! + //TODO: ONLY JOINED CLIENTS HERE! USE URL AS REFERENCE + // https://github.com/griffi-gh/kubi/blob/96a6693faa14580fca560f4a64f0e88e595a8ca0/kubi-server/src/world.rs#L144 let Some(other_client) = server.0.client(other_client_addr) else { log::error!("Other client doesn't exist"); continue diff --git a/kubi-server/src/client.rs b/kubi-server/src/client.rs index 238a1f5..f29f2d4 100644 --- a/kubi-server/src/client.rs +++ b/kubi-server/src/client.rs @@ -57,6 +57,6 @@ pub fn sync_client_positions( unreachable!() }; - + //TODO: sync positions on server } }