summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
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 {