diff options
-rw-r--r-- | play.js | 2 | ||||
-rw-r--r-- | rules.js | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -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)) @@ -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)) |