add todo comments

This commit is contained in:
griffi-gh 2023-05-19 07:04:24 +02:00
parent 163298fe38
commit 8d7b51707f
2 changed files with 3 additions and 2 deletions

View file

@ -155,7 +155,8 @@ pub fn authenticate_players(
init: init_data.user.clone() init: init_data.user.clone()
}; };
for (other_client_addr, _) in client_addr_map.0.iter() { 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 { let Some(other_client) = server.0.client(other_client_addr) else {
log::error!("Other client doesn't exist"); log::error!("Other client doesn't exist");
continue continue

View file

@ -57,6 +57,6 @@ pub fn sync_client_positions(
unreachable!() unreachable!()
}; };
//TODO: sync positions on server
} }
} }