summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-24 00:43:04 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-24 00:43:04 +0200
commit6b813050b604d878d873ab1f6cf19ca14d0a40ba (patch)
treef3af36e27490eadb6c5889acd98f996c54487d49
parenta1ce65223d7ef384544514ae77f1459956f10569 (diff)
downloadjulius-caesar-6b813050b604d878d873ab1f6cf19ca14d0a40ba.tar.gz
No undo after selecting cards.
-rw-r--r--rules.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index bb884cc..019a7dc 100644
--- a/rules.js
+++ b/rules.js
@@ -935,7 +935,6 @@ states.discard_and_play_card = {
gen_action(view, 'undo')
} else {
view.prompt = "Waiting for Pompeius..."
- gen_action(view, 'undo')
}
}
else if (current === POMPEIUS) {
@@ -951,7 +950,6 @@ states.discard_and_play_card = {
gen_action(view, 'undo')
} else {
view.prompt = "Waiting for Caesar..."
- gen_action(view, 'undo')
}
}
},
@@ -1050,7 +1048,6 @@ states.play_card = {
view.prior_p_card = game.prior_p_card
if (game.c_card) {
view.prompt = "Waiting for Pompeius to play a card."
- gen_action(view, 'undo')
} else {
view.prior_c_card = game.prior_c_card
view.prompt = "Play a card."
@@ -1062,7 +1059,6 @@ states.play_card = {
view.prior_c_card = game.prior_c_card
if (game.p_card) {
view.prompt = "Waiting for Caesar to play a card."
- gen_action(view, 'undo')
} else {
view.prior_p_card = game.prior_p_card
view.prompt = "Play a card."