summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-03-22 16:37:02 +0100
committerTor Andersson <tor@ccxvii.net>2025-03-22 16:46:10 +0100
commit88a448a219b35138af7d494c74b27bbd8335acea (patch)
tree9a084ae5225dab372ee9cf23a006ca9a5edd6499 /play.js
parentf83ef7dae8b8934aa4bf536757439b3f1f7f55b0 (diff)
downloadland-and-freedom-88a448a219b35138af7d494c74b27bbd8335acea.tar.gz
Log turning off bonus even when it's already off.
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
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)