lightyear
lightyear copied to clipboard
Logspam after disconnecting a client
After running
mut servers: ResMut<ServerConnections>,
// ...
let _ = servers.disconnect(*client_id);
we get spammed with logs
2024-08-30T20:53:28.729407Z ERROR send_packets: lightyear::server::networking: Error sending packets: netcode error: tried to send a packet to a client that doesn't exist
Are they really disconnected? Why is there a logspam? Add a unit test