summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-28 01:00:55 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-01 16:11:22 +0200
commite269aa6ec52c2aeb102eb816d90ead0a999191e3 (patch)
tree57e26e6c5109376221fb7fe4546cec431c951d72 /rules.js
parentd0048ced018cabeac2e0657abfb288a69e154ebd (diff)
downloadwaterloo-campaign-1815-e269aa6ec52c2aeb102eb816d90ead0a999191e3.tar.gz
Fix town names.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 204575c..2620444 100644
--- a/rules.js
+++ b/rules.js
@@ -1892,6 +1892,7 @@ states.attack_who = {
function begin_attack() {
game.count = 0
+ // TODO: move to just before rolling so we can see committed fresh cav!
for (let p of friendly_infantry_corps())
if (can_attack_infantry_support(p))
game.count |= (1 << p)