summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-16 15:17:52 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-16 15:17:52 +0100
commit02c683f0a420a5474648df78379a17c3595a81d0 (patch)
treeb75cab564da4fefc14f45837d423e8a18fd90e7c
parent0ff12b5ea0d6b1018688698a96849300a0ce6d69 (diff)
downloadcrusader-rex-02c683f0a420a5474648df78379a17c3595a81d0.tar.gz
Fix Jihad space formatting.
-rw-r--r--create.html1
-rw-r--r--rules.js5
2 files changed, 4 insertions, 2 deletions
diff --git a/create.html b/create.html
index ed3e2a5..80dc869 100644
--- a/create.html
+++ b/create.html
@@ -14,3 +14,4 @@ Iron Bridge
Delayed hit assignment
</label>
<dd>Fire all blocks with the same initiative before assigning hits.
+</dl>
diff --git a/rules.js b/rules.js
index 377204a..d35645a 100644
--- a/rules.js
+++ b/rules.js
@@ -1459,7 +1459,7 @@ function goto_select_jihad() {
}
if (game.jihad_list.length === 1) {
game.jihad = game.jihad_list[0]
- log("Jihad in " + game.jihad + ".")
+ log("Jihad in #" + game.jihad + ".")
delete game.jihad_list
return end_player_turn()
}
@@ -1476,7 +1476,7 @@ states.select_jihad = {
},
town: function (where) {
game.jihad = where
- log("Jihad in " + game.jihad + ".")
+ log("Jihad in #" + game.jihad + ".")
delete game.jihad_list
end_player_turn()
},
@@ -1685,6 +1685,7 @@ states.move_phase_event = {
view.prompt = group_move_name(0) + "Choose a block to group move."
gen_action_undo(view)
gen_action(view, 'end_move_phase')
+ // TODO: can_germans_move!
for (let b = 0; b <= last_block; ++b)
if (can_block_land_move(b))
gen_action(view, 'block', b)