summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-06 12:54:42 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit068ada830c8d61b671d04c12fec3cf1257165cf6 (patch)
treef4689fadb570d8abc1da77b4cde8aabdbb06bf2b /rules.js
parentcb2df52e9206f0d5c2e370016213a33448b65bc2 (diff)
downloadnevsky-068ada830c8d61b671d04c12fec3cf1257165cf6.tar.gz
Don't select selected lord.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 5152da3..1945b04 100644
--- a/rules.js
+++ b/rules.js
@@ -9680,6 +9680,11 @@ function gen_action_card_if_held(c) {
gen_action_card(c)
}
+function gen_action_select_lord(lord) {
+ if (game.who !== lord)
+ gen_action("lord", lord)
+}
+
function gen_action_lord_on_calendar(lord) {
if (lord !== game.who) {
if (is_lord_on_calendar(lord))