summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-24 00:42:11 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-24 00:42:11 +0200
commitc46094fa3d4a8979e0385c66ba7f093b5f7e0176 (patch)
tree2f937a42ec39116e973708f3536e059584be16de
parent741f3169db8bac0924e59c87f3fba20a324459e4 (diff)
downloadhammer-of-the-scots-c46094fa3d4a8979e0385c66ba7f093b5f7e0176.tar.gz
Don't undo after selecting a card.
-rw-r--r--rules.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 165c48a..529ff84 100644
--- a/rules.js
+++ b/rules.js
@@ -920,7 +920,6 @@ states.play_card = {
if (current === ENGLAND) {
if (game.e_card) {
view.prompt = "Waiting for Scotland to play a card."
- gen_action(view, 'undo')
} else {
view.prompt = "Play a card."
for (let c of game.e_hand)
@@ -930,7 +929,6 @@ states.play_card = {
if (current === SCOTLAND) {
if (game.s_card) {
view.prompt = "Waiting for England to play a card."
- gen_action(view, 'undo')
} else {
view.prompt = "Play a card."
for (let c of game.s_hand)