summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-16 20:02:58 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-16 20:02:58 +0200
commit165de595461086ff3184e69484b5038d3cf9e660 (patch)
tree3db2ccc1c05e9e3131d819f63008796779d314bb
parent61e1ee7d456597a0e03fdca1ab0949cb81e9ccec (diff)
downloadplantagenet-165de595461086ff3184e69484b5038d3cf9e660.tar.gz
Fix typo.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index ad15004..51abc03 100644
--- a/rules.js
+++ b/rules.js
@@ -10658,7 +10658,7 @@ states.she_wolf = {
vassal(v) {
push_undo()
if (current_turn() < 16)
- set_vassal_lord_and_service(vassal, get_vassal_lord(vassal), get_vassal_service(vassal) + 1)
+ set_vassal_lord_and_service(v, get_vassal_lord(v), get_vassal_service(v) + 1)
set_add(game.event_data, v)
logi(`Vassal ${data.vassals[v].name} shifted one calendar box`)
},