Update hide reminder text to replace globally

This commit is contained in:
Josh birnholz
2023-07-27 16:46:20 -04:00
parent 4fc1a69b2a
commit a89dc76adb

View File

@@ -2696,7 +2696,7 @@ function writeText(textObject, targetContext) {
rulesText = rawText.substring(0, flavorIndex); rulesText = rawText.substring(0, flavorIndex);
} }
rulesText = rulesText.replace(/\([^\)]+\)/, ''); rulesText = rulesText.replace(/\([^\)]+\)/g, '');
rawText = rulesText + flavorText; rawText = rulesText + flavorText;
} }