notes
This commit is contained in:
parent
f187f9eb7e
commit
35afcf7dd4
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ impl UserHandler {
|
|||
}
|
||||
SendJudgeRound(message) => {
|
||||
let msg = to_string::<JudgeRound>(&message).unwrap();
|
||||
tx.send(msg).await.unwrap()
|
||||
tx.send(msg).await.unwrap() // TODO: Fix explosion here when user disconnects
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue