This commit is contained in:
Adam 2024-08-26 22:50:38 -04:00
parent f187f9eb7e
commit 35afcf7dd4
2 changed files with 3 additions and 3 deletions

View file

@ -181,12 +181,12 @@ impl Game {
.white .white
.iter() .iter()
.position(|card| card.uuid.to_string() == *id) .position(|card| card.uuid.to_string() == *id)
.unwrap(); .unwrap(); // TODO: Fix unknown explosion here
let card = self let card = self
.players .players
.get_mut(&player_user_id) .get_mut(&player_user_id)
.unwrap() .unwrap() // TODO: Fix explosion here when user reconnects
.white .white
.remove(index); .remove(index);

View file

@ -98,7 +98,7 @@ impl UserHandler {
} }
SendJudgeRound(message) => { SendJudgeRound(message) => {
let msg = to_string::<JudgeRound>(&message).unwrap(); let msg = to_string::<JudgeRound>(&message).unwrap();
tx.send(msg).await.unwrap() tx.send(msg).await.unwrap() // TODO: Fix explosion here when user disconnects
} }
} }
} }