diff --git a/server/src/game.rs b/server/src/game.rs index 18f8d15..3363d71 100644 --- a/server/src/game.rs +++ b/server/src/game.rs @@ -181,12 +181,12 @@ impl Game { .white .iter() .position(|card| card.uuid.to_string() == *id) - .unwrap(); + .unwrap(); // TODO: Fix unknown explosion here let card = self .players .get_mut(&player_user_id) - .unwrap() + .unwrap() // TODO: Fix explosion here when user reconnects .white .remove(index); diff --git a/server/src/user_handler.rs b/server/src/user_handler.rs index 17b773f..00bc2f7 100644 --- a/server/src/user_handler.rs +++ b/server/src/user_handler.rs @@ -98,7 +98,7 @@ impl UserHandler { } SendJudgeRound(message) => { let msg = to_string::(&message).unwrap(); - tx.send(msg).await.unwrap() + tx.send(msg).await.unwrap() // TODO: Fix explosion here when user disconnects } } }