diff --git a/server/src/main.rs b/server/src/main.rs index 872bedd..598566d 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -123,6 +123,7 @@ async fn run( } } + // TODO: This won't work with multiple keys. if key_states.iter().filter(|(_, state)| **state).count() == key_states.len() { for (_, state) in &mut key_states { *state = false; @@ -130,6 +131,7 @@ async fn run( current = (current + 1) % (clients.len() + 1); log::info!("Switching to client {}", current); + continue; } if current != 0 {