From c154536fa68b43d97fc888de5682ef06a8934d65 Mon Sep 17 00:00:00 2001 From: 10sa Date: Thu, 8 Jun 2023 22:50:33 +0900 Subject: [PATCH] Add macro replacing to stopping strings --- public/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/script.js b/public/script.js index 1fe14122c..bd78aeb7c 100644 --- a/public/script.js +++ b/public/script.js @@ -1370,10 +1370,10 @@ function getStoppingStrings(isImpersonate, addSpace) { if (power_user.instruct.enabled) { if (power_user.instruct.input_sequence) { - result.push(wrap(power_user.instruct.input_sequence)); + result.push(substituteParams(wrap(power_user.instruct.input_sequence), name1, name2)); } if (power_user.instruct.output_sequence) { - result.push(wrap(power_user.instruct.output_sequence)); + result.push(substituteParams(wrap(power_user.instruct.output_sequence), name1, name2)); } }