diff --git a/client/src/components/game.rs b/client/src/components/game.rs index 385ceff..75b7f11 100644 --- a/client/src/components/game.rs +++ b/client/src/components/game.rs @@ -34,6 +34,11 @@ pub fn Game() -> impl IntoView { set_game_czar(game.czar.clone()); set_game_black(game.black.clone()); set_game_white(game.white.clone()); + + // Primitive reset when joining new game + set_player_hand(HashMap::new()); + + // Load hand for card in game.white { set_player_hand.update(|hand| { hand.insert(card.uuid.clone(), card.clone());