Fix group expressions

This commit is contained in:
Cohee 2023-10-08 11:22:48 +03:00
parent 4fbbd34db9
commit 57bf499ce9
1 changed files with 6 additions and 1 deletions

View File

@ -563,6 +563,11 @@ async function moduleWorker() {
await forceUpdateVisualNovelMode();
}
if (context.groupId && !Array.isArray(spriteCache[spriteFolderName])) {
await validateImages(spriteFolderName, true);
await forceUpdateVisualNovelMode();
}
offlineMode.css('display', 'none');
}
@ -584,7 +589,7 @@ async function moduleWorker() {
}
// Throttle classification requests during streaming
if (context.streamingProcessor && !context.streamingProcessor.isFinished) {
if (!context.groupId && context.streamingProcessor && !context.streamingProcessor.isFinished) {
const now = Date.now();
const timeSinceLastServerResponse = now - lastServerResponseTime;