summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-05 18:20:17 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-05 18:20:17 +0200
commit03f2a8dc5741a2b643e04ca789c1b51d0c5d3e8d (patch)
tree8579bb4deea50b054953ae067da573c5c848252d
parent326c129df3800e233584658aa2953806f6d942d6 (diff)
downloadplantagenet-03f2a8dc5741a2b643e04ca789c1b51d0c5d3e8d.tar.gz
fix client crash
-rw-r--r--play.js5
1 files 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")