From c46094fa3d4a8979e0385c66ba7f093b5f7e0176 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 24 May 2023 00:42:11 +0200 Subject: Don't undo after selecting a card. --- rules.js | 2 -- 1 file changed, 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) -- cgit v1.2.3