Reset scan state to recursion on more available

f0a3886b420bb2134c6439cb4af8009c162e0af5

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +1 -0Ignore whitespace
public/scripts/world-info.js+1 -0
@@ -4055,6 +4055,7 @@ export async function checkWorldInfo(chat, maxContext, isDryRun) {
40554055
4056 // If the scan is done, but we still have open "delay until recursion" levels, we should continue with the next one4056 // If the scan is done, but we still have open "delay until recursion" levels, we should continue with the next one
4057 if (nextScanState === scan_state.NONE && availableRecursionDelayLevels.length) {4057 if (nextScanState === scan_state.NONE && availableRecursionDelayLevels.length) {
4058 nextScanState = scan_state.RECURSION;
4058 currentRecursionDelayLevel = availableRecursionDelayLevels.shift();4059 currentRecursionDelayLevel = availableRecursionDelayLevels.shift();
4059 }4060 }
40604061