From eddf155524f44b5437a7028cbf33695a0d449f2c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 5 Jun 2024 23:12:25 +0200 Subject: shorten combat prompts to fit mobile --- play.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'play.js') diff --git a/play.js b/play.js index 31515b2..eecd8fe 100644 --- a/play.js +++ b/play.js @@ -1453,6 +1453,8 @@ function on_log(text) { text = text.replace(//g, ">") + text = text.replaceAll(" 1 troops", " 1 troop") + text = colorize(text) text = text.replace(/S(\d+)/g, sub_space) text = text.replace(/P(\d+)/g, sub_piece) -- cgit v1.2.3