diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-05-24 00:43:04 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-24 00:43:04 +0200 |
commit | 6b813050b604d878d873ab1f6cf19ca14d0a40ba (patch) | |
tree | f3af36e27490eadb6c5889acd98f996c54487d49 | |
parent | a1ce65223d7ef384544514ae77f1459956f10569 (diff) | |
download | julius-caesar-6b813050b604d878d873ab1f6cf19ca14d0a40ba.tar.gz |
No undo after selecting cards.
-rw-r--r-- | rules.js | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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." |