summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-21 23:37:28 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:19:39 +0100
commitd29767d6c588c6ed049b9c62fe84cfbc05ce1b1e (patch)
tree19d26ed2d37113946dab5bec08f4eb218c23ef8c
parenta3a02abfd92c7b164a953688ef9a266284103ab6 (diff)
downloadcrusader-rex-d29767d6c588c6ed049b9c62fe84cfbc05ce1b1e.tar.gz
crusader: Allow Jihad on existing sieges.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 14befdf..250b6c6 100644
--- a/rules.js
+++ b/rules.js
@@ -1418,7 +1418,7 @@ function goto_jihad() {
function goto_select_jihad() {
game.jihad_list = [];
for (let where in TOWNS)
- if (is_contested_field(where))
+ if (is_contested_field(where) || besieging_player(where) === game.active)
game.jihad_list.push(where);
if (game.jihad_list.length === 0) {
delete game.jihad_list;