From db5c4c7f8e937b6527a04b097f1c4c61f94ae9c5 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 11 Oct 2024 09:05:28 +0100 Subject: Updates to SC log --- play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'play.js') 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/)) { -- cgit v1.2.3