diff --git a/backend/src/shengji_handler.rs b/backend/src/shengji_handler.rs index 2c01492..165dc28 100644 --- a/backend/src/shengji_handler.rs +++ b/backend/src/shengji_handler.rs @@ -188,9 +188,7 @@ async fn register_user, E: std::fmt::Debug + Send>( let (assigned_player_id, register_msgs) = g.register(name_)?; info!(logger_, "Joining room"; "player_id" => assigned_player_id.0); let mut clients_to_disconnect = vec![]; - let clients = associated_websockets - .entry(assigned_player_id) - .or_default(); + let clients = associated_websockets.entry(assigned_player_id).or_default(); // If the same user joined before, remove the previous entries // from the state-store. if !g.allows_multiple_sessions_per_user() { diff --git a/core/src/message.rs b/core/src/message.rs index 9d2e7be..206a4ff 100644 --- a/core/src/message.rs +++ b/core/src/message.rs @@ -336,6 +336,8 @@ impl MessageVariant { format!("{} protected longer tuples from being drawn out by shorter ones (pair does not draw triple)", n?), TrickDrawPolicySet { policy: TrickDrawPolicy::OnlyDrawTractorOnTractor } => format!("{} protected tractors from being drawn out by non-tractors", n?), + TrickDrawPolicySet { policy: TrickDrawPolicy::LongerTuplesProtectedAndOnlyDrawTractorOnTractor } => + format!("{} protected longer tuples from being drawn out by shorter ones, and tractors from being drawn out by non-tractors", n?), ThrowEvaluationPolicySet { policy: ThrowEvaluationPolicy::All } => format!("{} set throws to be evaluated based on all of the cards", n?), ThrowEvaluationPolicySet { policy: ThrowEvaluationPolicy::Highest } => diff --git a/frontend/src/Credits.tsx b/frontend/src/Credits.tsx index 61d735e..4937ec5 100644 --- a/frontend/src/Credits.tsx +++ b/frontend/src/Credits.tsx @@ -9,7 +9,7 @@ const contentStyle: React.CSSProperties = { transform: "translate(-50%, -50%)", }; -const changeLogVersion: number = 22; +const changeLogVersion: number = 23; const ChangeLog = (): JSX.Element => { const [modalOpen, setModalOpen] = React.useState(false); @@ -66,6 +66,13 @@ const ChangeLog = (): JSX.Element => { game +

1/20/2024:

+

2/24/2023: