From 8bb5f1e3a67d7efa5fd22a3bdeadb39bc87ce6f7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 30 May 2024 00:33:36 +0200 Subject: polish retired text --- play.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 4f46fbb..a6b09e8 100644 --- a/play.js +++ b/play.js @@ -1167,9 +1167,9 @@ function on_log(text) { if (text.match(/^\$(\d+)/)) { let fx = parseInt(text.substring(1)) if (fx < 48 + 6) - text = `

${fate_flavor_text[fx]}

${fate_effect_text[fx]}` + text = `

${fate_flavor_text[fx]}
${fate_effect_text[fx]}
` else - text = `

${fate_flavor_text[fx]}` + text = `

${fate_flavor_text[fx]}
` } else if (text.match(/^# /)) { p.className = "h fate" -- cgit v1.2.3