From a1a2d8e3008b9614dbb4ac082b49e04a164cf2ea Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 19 Apr 2025 01:03:50 +0200 Subject: Fix header for Victory Phase. --- play.js | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit v1.2.3