From 2967a744b99f5679ab8de672e1e566cc6641ec14 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 20 Apr 2024 19:36:55 +0200 Subject: Fix Aragne end event (and show selected vassals). --- play.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'play.js') 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), -- cgit v1.2.3