projects
/
pokerwave.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9620a18
)
anonymise PutInBox action
author
Geoffrey Allott
<geoffrey@allott.email>
Sun, 4 Jun 2023 16:41:23 +0000
(17:41 +0100)
committer
Geoffrey Allott
<geoffrey@allott.email>
Sun, 4 Jun 2023 16:41:23 +0000
(17:41 +0100)
src/game/action.rs
patch
|
blob
|
history
diff --git
a/src/game/action.rs
b/src/game/action.rs
index 2ce6015e3f764f79f367afcb4f98ce987f17796b..23c2effbded56406ed8783b726a023bc7841e8cb 100644
(file)
--- a/
src/game/action.rs
+++ b/
src/game/action.rs
@@
-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(),
}
}