summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-22 11:48:05 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit7dce4c82c1a79dee8a77be0c1d5eab4735be48eb (patch)
treea4a1c6ce83dadb6d6fc2bf1bbecdbdda29ec3321
parent220c14fc4d2ec803a8fecb11e81b6d005239281c (diff)
downloadnevsky-7dce4c82c1a79dee8a77be0c1d5eab4735be48eb.tar.gz
Fix Ravage capability logging.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 0e47695..0a8005c 100644
--- a/rules.js
+++ b/rules.js
@@ -6286,7 +6286,7 @@ states.ravage = {
function ravage_location(here, there) {
if (here !== there) {
if (is_teutonic_lord(game.command))
- log(`Ravaged %${there} with C${which_lord_capability(game.command, AOW_TEUTONIC_RAIDERS)}.`)
+ log(`Ravaged %${there} with C${AOW_TEUTONIC_RAIDERS}.`)
else
log(`Ravaged %${there} with C${which_lord_capability(game.command, AOW_RUSSIAN_RAIDERS)}.`)
} else {