From d4a5eb7c57c1bd8a250d071456c63ce8787ac422 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 20 Dec 2022 13:37:25 +0100 Subject: Held cards are also in use. --- play.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'play.js') diff --git a/play.js b/play.js index 0c7add8..60b12d0 100644 --- a/play.js +++ b/play.js @@ -297,6 +297,8 @@ function is_marshal(lord) { } function is_card_in_use(c) { + if (set_has(view.hand, c)) + return true if (set_has(view.events, c)) return true if (set_has(view.capabilities, c)) -- cgit v1.2.3