diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-21 11:11:24 +0000 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | 7db61f7d9ab6568b4ab141be2ac6d583a94159ef (patch) | |
tree | 66ee796b14e7d76e285d27a24572f4003681716f /rules.js | |
parent | b19499cc5f6483062a28dc7a0c52e4b61c74f796 (diff) | |
download | shores-of-tripoli-7db61f7d9ab6568b4ab141be2ac6d583a94159ef.tar.gz |
tripoli: Fix bug in you_may_play.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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."; |