client sdk
This commit is contained in:
@@ -517,7 +517,11 @@ impl BackchannelScheduler {
|
||||
.copied()
|
||||
.filter(|&i| !self.recent.contains(&self.clips[i].name))
|
||||
.collect();
|
||||
let pool = if unrepeated.is_empty() { pool } else { unrepeated };
|
||||
let pool = if unrepeated.is_empty() {
|
||||
pool
|
||||
} else {
|
||||
unrepeated
|
||||
};
|
||||
|
||||
Some(pool[(self.rng.next_u64() % pool.len() as u64) as usize])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user