diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-21 20:46:56 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-21 20:47:00 +0200 |
commit | 674360e4b5dddb4a431dcc5c41c09200ac6e5f2f (patch) | |
tree | ef6cad039c60289166d8d6a0f13a2424706c9bfa /play.js | |
parent | 8befe37906ff78e1521fd95097e1d0d247992f6c (diff) | |
download | plantagenet-674360e4b5dddb4a431dcc5c41c09200ac6e5f2f.tar.gz |
Death Check: Manual disband vassals. Extra roll step for lords.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |