summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-21 20:46:56 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-21 20:47:00 +0200
commit674360e4b5dddb4a431dcc5c41c09200ac6e5f2f (patch)
treeef6cad039c60289166d8d6a0f13a2424706c9bfa /play.js
parent8befe37906ff78e1521fd95097e1d0d247992f6c (diff)
downloadplantagenet-674360e4b5dddb4a431dcc5c41c09200ac6e5f2f.tar.gz
Death Check: Manual disband vassals. Extra roll step for lords.
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/play.js b/play.js
index 0a8c92c..c35e8e5 100644
--- a/play.js
+++ b/play.js
@@ -1068,16 +1068,16 @@ function layout_track() {
function add_vassal(parent, vassal, lord, routed) {
let elt
if (routed) {
- if (is_action(routed_force_action_name[VASSAL], vassal))
+ if (is_action(force_action_name[VASSAL], vassal))
elt = get_cached_element(
"action unit " + force_class_name[VASSAL] + " vassal_" + clean_name(data.vassals[vassal].name),
- routed_force_action_name[VASSAL],
+ force_action_name[VASSAL],
vassal
)
else
elt = get_cached_element(
"unit " + force_class_name[VASSAL] + " vassal_" + clean_name(data.vassals[vassal].name),
- routed_force_action_name[VASSAL],
+ force_action_name[VASSAL],
vassal
)
} else {