summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 009760c..184f8d1 100644
--- a/rules.js
+++ b/rules.js
@@ -312,7 +312,7 @@ function you_may_play(current, list) {
else {
for (let i = 0; i < list.length-1; ++i)
msg += list[i] + ", ";
- msg += "or " + list[i] + ".";
+ msg += "or " + list[list.length-1] + ".";
}
} else {
msg += "\u201c" + CARD_NAMES[list] + "\u201d.";