summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-24 23:08:10 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-01 16:11:22 +0200
commit0db892146a5f1899e0091409818f9f80b769ee78 (patch)
tree6eb00f3fca272af75f294a0b1b7c83219b3dfc0a
parentc03eaad9f1480345905e25639062e205065230e3 (diff)
downloadwaterloo-campaign-1815-0db892146a5f1899e0091409818f9f80b769ee78.tar.gz
Fix no Cav Town DRM.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index c5c802f..54ee60a 100644
--- a/rules.js
+++ b/rules.js
@@ -2005,7 +2005,7 @@ function goto_resolve_attack() {
let d_die = roll_die()
- if (town)
+ if (town && !piece_is_cavalry(d_unit))
d_drm += log_drm(1, "Town")
else if (is_bridge(a_hex, d_hex))