chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8d29ed
)
deck: Fix description of counting play piles
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 16 Apr 2021 16:50:21 +0000
(17:50 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 16 Apr 2021 16:50:21 +0000
(17:50 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/deck.rs
patch
|
blob
|
history
diff --git
a/src/deck.rs
b/src/deck.rs
index 505bd5226eca328bc57ccd81788849715ffbe7bd..04b4d305c1cdcdb6e31fc83c1d33f3bcd2bbdd27 100644
(file)
--- a/
src/deck.rs
+++ b/
src/deck.rs
@@
-117,7
+117,7
@@
impl PieceTrait for Deck {
fn describe_html(&self, gpc: &GPiece, goccults: &GameOccults) -> Html {
match self.state(gpc, goccults)? {
Disabled => DISABLED_DESC,
- Counting =>
ENABLED
_DESC,
+ Counting =>
COUNTING
_DESC,
Enabled => ENABLED_DESC,
}.into()
}