Merge pull request #2773 from SillyTavern/fix-wi-sticky-on-recursion Fix WI sticky possibly not sticking with delay until recursion when inclusion group is set too

a82617be5bb1bd03a3410d56d5e3eb9a31c5220c

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

Signed
1 files changed, +2 -2Ignore whitespace
public/scripts/world-info.js+2 -2
@@ -3813,12 +3813,12 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) {
38133813 }
38143814
38153815 // Only use checks for recursion flags if the scan step was activated by recursion
38163816 if (scanState !== scan_state.RECURSION && entry.delayUntilRecursion && !isSticky) {
38173817 log('suppressed by delay until recursion');
38183818 continue;
38193819 }
38203820
38213821 if (scanState === scan_state.RECURSION && world_info_recursive && entry.excludeRecursion && !isSticky) {
38223822 log('suppressed by exclude recursion');
38233823 continue;
38243824 }