Fix WI sticky possibly not sticking on recursion - When a WI entry has sticky, and inclusion group and "delay until recursion" set, another entry from the same group might prevent the sticky from activating. This is fixed here.

0284698428753e7bf0eb447846dd4d8d2bc27f4a

Wolfsblvt <wolfsblvt@gmail.com>

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 }