summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-10 15:57:23 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit87313231c6654b8e21fddbadc2cc42c571f73900 (patch)
treed9b4a67957ef1e0fbdac0cb47586f3b72f74c9ed
parentcc3c112b2aa153580e8a14c294307d7030bfd17d (diff)
downloadplantagenet-87313231c6654b8e21fddbadc2cc42c571f73900.tar.gz
no global capabilities
-rw-r--r--rules.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index f7274d7..2d3f3f4 100644
--- a/rules.js
+++ b/rules.js
@@ -5167,8 +5167,6 @@ function resume_battle_events() {
}
function could_play_card(c) {
- if (set_has(game.capabilities, c))
- return false
if (!game.hidden) {
// TODO: check capabilities on lords revealed in battle if hidden
if (game.pieces.capabilities.includes(c))