diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-11 09:05:28 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-11 09:05:28 +0100 |
commit | db5c4c7f8e937b6527a04b097f1c4c61f94ae9c5 (patch) | |
tree | cc86bbb6eee24f143e9fdf8d9c5fd568bcf0a049 /play.js | |
parent | d53aa3d5af6950d0ac4bfbcb5ab214a083c28e3a (diff) | |
download | 1989-dawn-of-freedom-db5c4c7f8e937b6527a04b097f1c4c61f94ae9c5.tar.gz |
Updates to SC log
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/)) {
|