summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
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 9f4c107..be10507 100644
--- a/play.js
+++ b/play.js
@@ -238,7 +238,7 @@ function on_log(text) { // eslint-disable-line no-unused-vars
text = text.replace(/P(\d+)/g, sub_power_card_name)
text = text.replace(/V(\d+)/g, sub_power_card_value)
text = text.replace(/%(\d+)/g, sub_space_name)
- text = text.replace(/\b[D][1-6]\b/g, sub_die)
+ text = text.replace(/D[1-6]/g, sub_die)
if (text.match(/^\.h1/)) {