From 03f2a8dc5741a2b643e04ca789c1b51d0c5d3e8d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 5 May 2024 18:20:17 +0200 Subject: fix client crash --- play.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/play.js b/play.js index 588d1b9..15c45e8 100644 --- a/play.js +++ b/play.js @@ -1063,8 +1063,9 @@ function update_lord_mat(ix) { } else { ui.mat[ix].classList.add("hidden") ui.assets[ix].replaceChildren() - ui.retinue[ix].replaceChildren() - ui.routed_retinue[ix].replaceChildren() + ui.retinue_area[ix].replaceChildren() + ui.vassal_area[ix].replaceChildren() + ui.routed_retinue_vassal_area[ix].replaceChildren() ui.troops[ix].replaceChildren() ui.routed_troops[ix].replaceChildren() ui.lord_moved1[ix].classList.add("hide") -- cgit v1.2.3