summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 5fb5391..dfbb3a0 100644
--- a/play.js
+++ b/play.js
@@ -1194,8 +1194,8 @@ function add_valour(parent, lord) {
}
function update_valour(lord, parent, battle) {
- if (!battle) return
parent.replaceChildren()
+ if (!battle) return
for (let i = 0; i < battle.valour[lord]; i++) {
add_valour(parent, lord)
}