summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
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 8d9e79f..3444cca 100644
--- a/rules.js
+++ b/rules.js
@@ -2178,7 +2178,7 @@ states.tempest = {
ship(lord) {
logi(`Removed ships from L${lord}.`)
let n = 0
- if (lord_has_capability(AOW_TEUTONIC_COGS))
+ if (lord_has_capability(lord, AOW_TEUTONIC_COGS))
n = Math.ceil(get_lord_assets(lord, SHIP) / 2)
set_lord_assets(lord, SHIP, n)
end_immediate_event()