Merge pull request #3188 from InspectorCaracal/fix-double-prefix-2 Fix double prefix mk 2

4c3b987ee436bf11aa336bf07eac71a562e92c2d

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
1 files changed, +3 -3Showing whitespace changes
public/scripts/instruct-mode.js+3 -3
@@ -475,9 +475,9 @@ export function formatInstructModeExamples(mesExamplesArray, name1, name2) {
475475 }
476476
477477 for (const example of blockExamples) {
478478 // If group names were already included, we don't want to add anany additional prefix as it already was applied.
479479 // IfOtherwise, if force group/persona names is set, we should override the include names for the user placeholder
480480 const includeThisName = (includeNames!includeGroupNames && !includeGroupNames)(includeNames || (power_user.instruct.names_behavior === names_behavior_types.FORCE && example.name == 'example_user'));
481481
482482 const prefix = example.name == 'example_user' ? inputPrefix : outputPrefix;
483483 const suffix = example.name == 'example_user' ? inputSuffix : outputSuffix;