summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-19 01:03:50 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-19 01:04:01 +0200
commita1a2d8e3008b9614dbb4ac082b49e04a164cf2ea (patch)
tree71b4ca5a2743e1add1a66f57ced982d4f761d50c
parent9ddbc475d24343038d62fd9c67bbbc9277ae694b (diff)
downloadvijayanagara-a1a2d8e3008b9614dbb4ac082b49e04a164cf2ea.tar.gz
Fix header for Victory Phase.
-rw-r--r--play.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/play.js b/play.js
index 53463dd..22ae8a2 100644
--- a/play.js
+++ b/play.js
@@ -1485,6 +1485,10 @@ function on_log(text) {
else if (ix >= 48 && ix <= 49) p.className = "h1 mi"
else p.className = "h1"
}
+ else if (text.match(/^\.h1 /)) {
+ text = text.substring(4)
+ p.className = "h1"
+ }
else if (text.match(/^\.h2 Sultanate/)) {
text = text.substring(4)
p.className = "h2 ds"