summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-11 09:05:28 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-11 09:05:28 +0100
commitdb5c4c7f8e937b6527a04b097f1c4c61f94ae9c5 (patch)
treecc86bbb6eee24f143e9fdf8d9c5fd568bcf0a049 /play.js
parentd53aa3d5af6950d0ac4bfbcb5ab214a083c28e3a (diff)
download1989-dawn-of-freedom-db5c4c7f8e937b6527a04b097f1c4c61f94ae9c5.tar.gz
Updates to SC log
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/)) {