From 88a448a219b35138af7d494c74b27bbd8335acea Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 22 Mar 2025 16:37:02 +0100 Subject: Log turning off bonus even when it's already off. --- play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'play.js') diff --git a/play.js b/play.js index 2d42f0b..6592ac9 100644 --- a/play.js +++ b/play.js @@ -642,7 +642,7 @@ function on_log(text) { // eslint-disable-line no-unused-vars text = text.replace(/\bC(\d+)\b/g, sub_card) text = text.replace(/\bM(\d+)\b/g, sub_medallion) - text = text.replace(/\bT[acmf]\b/g, sub_token) + text = text.replace(/\bT\d\b/g, sub_token) text = text.replace(/\bHP\b/g, "Hero points") // text = text.replace(/\bHP\b/g, "\u272b") // text = text.replace(/\bHP\b/g, sub_token) -- cgit v1.2.3