fix soundboard
This commit is contained in:
parent
e8b6db7bc1
commit
477281a78f
1 changed files with 4 additions and 1 deletions
|
|
@ -259,7 +259,10 @@ impl VoiceHub {
|
|||
return;
|
||||
};
|
||||
|
||||
for peer in room.values() {
|
||||
for (peer_id, peer) in room.iter() {
|
||||
if *peer_id == user_id {
|
||||
continue;
|
||||
}
|
||||
let _ = peer.tx.send(ServerEvent::PlaySound {
|
||||
user_id,
|
||||
sound_url: sound_url.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue