summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js2
-rw-r--r--rules.js4
2 files changed, 6 insertions, 0 deletions
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))
diff --git a/rules.js b/rules.js
index c0a39b9..ae3505a 100644
--- a/rules.js
+++ b/rules.js
@@ -733,6 +733,10 @@ function is_marshal(lord) {
}
function is_card_in_use(c) {
+ if (set_has(game.hand1, c))
+ return true
+ if (set_has(game.hand2, c))
+ return true
if (set_has(game.events, c))
return true
if (set_has(game.capabilities, c))