refact: fix clippy warnings
This commit is contained in:
parent
25acc86059
commit
37cc50ed2a
8 changed files with 140 additions and 137 deletions
|
|
@ -1,4 +1,3 @@
|
|||
use bincode;
|
||||
use log::{info, trace, warn};
|
||||
use std::net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket};
|
||||
use std::thread;
|
||||
|
|
@ -92,7 +91,10 @@ fn main() {
|
|||
trace!("The game gas begun");
|
||||
}
|
||||
}
|
||||
ServerEvent::ClientDisconnected { client_id, reason: _ } => {
|
||||
ServerEvent::ClientDisconnected {
|
||||
client_id,
|
||||
reason: _,
|
||||
} => {
|
||||
// First consume a disconnect event
|
||||
let event = store::GameEvent::PlayerDisconnected {
|
||||
player_id: client_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue