Fix room switching panic
This commit is contained in:
parent
7ba8134eb0
commit
2400651483
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ impl Ui {
|
|||
return;
|
||||
}
|
||||
|
||||
let id = rooms[index & rooms.len()].clone();
|
||||
let id = rooms[index % rooms.len()].clone();
|
||||
self.room = Some(id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue