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
|
.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);
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue