diff --git a/modules/games/README.md b/modules/games/README.md index da4b5ca..40c4181 100644 --- a/modules/games/README.md +++ b/modules/games/README.md @@ -240,8 +240,9 @@ Like the rest of the mesh games, this is a tracker-locked DM game: once you star | `yatz join [table]` | Join open table (or specific table id) | | `yatz lobby` | Show open tables | | `roll` | Roll dice during your active turn | -| `hold A,C,E` | Hold selected dice slots | +| `hold A,C,E` | Hold selected dice slots; keeps persist across the turn | | `keep A,C,E` | Alias for hold | +| `clear` or `none` | Release all held dice for the current turn | | `score ` | Score current hand in a category | | `card` | Show your scorecard | | `end` | Leave/end your game | diff --git a/modules/games/yatz.py b/modules/games/yatz.py index 445a399..23cf350 100644 --- a/modules/games/yatz.py +++ b/modules/games/yatz.py @@ -312,7 +312,7 @@ class YatzGame: return "Invalid hold list. Example: hold A,C,E" current = session["turn"]["held"][:] - if not idx: + if hold_str.strip().lower() in ("none", "n", "clear"): current = [False for _ in range(5)] else: for i in idx: