From a89dc76adb05336ae6fb50e52f27e4c75dba0509 Mon Sep 17 00:00:00 2001 From: Josh birnholz Date: Thu, 27 Jul 2023 16:46:20 -0400 Subject: [PATCH] Update hide reminder text to replace globally --- js/creator-23.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/creator-23.js b/js/creator-23.js index c3df7123..4716ce5a 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -2696,7 +2696,7 @@ function writeText(textObject, targetContext) { rulesText = rawText.substring(0, flavorIndex); } - rulesText = rulesText.replace(/\([^\)]+\)/, ''); + rulesText = rulesText.replace(/\([^\)]+\)/g, ''); rawText = rulesText + flavorText; }