From e3f0593f7e7a24d29ae551282bc5cd673b96cfba Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 24 May 2023 00:44:39 +0200 Subject: Don't undo after selecting card. --- rules.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index acec37d..4c960d1 100644 --- a/rules.js +++ b/rules.js @@ -1448,7 +1448,6 @@ states.play_card = { if (current === LANCASTER) { if (game.l_card) { view.prompt = "Waiting for York to play a card." - gen_action(view, 'undo') } else { view.prompt = "Play a card." for (let c of game.l_hand) @@ -1458,7 +1457,6 @@ states.play_card = { if (current === YORK) { if (game.y_card) { view.prompt = "Waiting for Lancaster to play a card." - gen_action(view, 'undo') } else { view.prompt = "Play a card." for (let c of game.y_hand) -- cgit v1.2.3