From 63d5b177b422054879e698e6c5d16e2bc4e41a7f Mon Sep 17 00:00:00 2001 From: Aubrey Taylor Date: Fri, 20 Dec 2024 21:14:43 -0600 Subject: [PATCH] ignore whether sending to an actor failed in a broadcast --- src/player.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/player.rs b/src/player.rs index 812bb3e..50ed000 100644 --- a/src/player.rs +++ b/src/player.rs @@ -23,7 +23,7 @@ use crate::{ pub async fn broadcast_packet(packet: Packet) { for (id, (address, _)) in clients().read().await.iter() { if *id != packet.user_id { - let _ = address.send(packet.clone()).detach().await.unwrap(); + let _ = address.send(packet.clone()).detach().await; } }