summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-27 15:25:36 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-27 15:52:52 +0100
commit908151b9be0a53fbbf4011aa193e52f717f065d4 (patch)
tree838802c1e53b83a50d576ccc3bfb8e440a247450 /rules.js
parent92035975862dab73ff0898d8de324c7f2469d923 (diff)
downloadplantagenet-908151b9be0a53fbbf4011aa193e52f717f065d4.tar.gz
Fix count_group_ships.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index eba4066..680d12a 100644
--- a/rules.js
+++ b/rules.js
@@ -981,8 +981,8 @@ function count_group_ships() {
n += count_lord_ships(lord)
if (lord_has_capability(AOW_YORK_GREAT_SHIPS) || lord_has_capability(AOW_LANCASTER_GREAT_SHIPS))
n += count_lord_ships(lord)
- return n
}
+ return n
}
function count_group_assets(type, group = game.group) {