summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/play.js b/play.js
index f9340a9..705b9d5 100644
--- a/play.js
+++ b/play.js
@@ -1084,6 +1084,12 @@ function add_vassal(parent, vassal, lord, routed) {
force_action_name[VASSAL],
vassal
)
+ else if (view.vassal === vassal || set_has(view.vassal, vassal))
+ elt = get_cached_element(
+ "unit " + force_class_name[VASSAL] + " selected vassal_" + clean_name(data.vassals[vassal].name),
+ force_action_name[VASSAL],
+ vassal
+ )
else
elt = get_cached_element(
"unit " + force_class_name[VASSAL] + " vassal_" + clean_name(data.vassals[vassal].name),