anonymise PutInBox action
authorGeoffrey Allott <geoffrey@allott.email>
Sun, 4 Jun 2023 16:41:23 +0000 (17:41 +0100)
committerGeoffrey Allott <geoffrey@allott.email>
Sun, 4 Jun 2023 16:41:23 +0000 (17:41 +0100)
src/game/action.rs

index 2ce6015e3f764f79f367afcb4f98ce987f17796b..23c2effbded56406ed8783b726a023bc7841e8cb 100644 (file)
@@ -68,6 +68,7 @@ impl Action {
     pub fn anonymise(&self) -> Self {
         match self {
             Action::ReceiveCard { .. } => Action::ReceiveCard { card: None },
+            Action::PutInBox { .. } => Action::PutInBox { card: None },
             action => action.clone(),
         }
     }