mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't require a primary WI to use additionals
This commit is contained in:
@@ -2669,7 +2669,6 @@ async function getCharacterLore() {
|
|||||||
worldsToSearch.add(baseWorldName);
|
worldsToSearch.add(baseWorldName);
|
||||||
} else {
|
} else {
|
||||||
console.debug(`Character ${name}'s base world could not be found or is empty! Skipping...`);
|
console.debug(`Character ${name}'s base world could not be found or is empty! Skipping...`);
|
||||||
return [];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Maybe make the utility function not use the window context?
|
// TODO: Maybe make the utility function not use the window context?
|
||||||
@@ -2696,7 +2695,7 @@ async function getCharacterLore() {
|
|||||||
entries = entries.concat(newEntries);
|
entries = entries.concat(newEntries);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.debug(`Character ${characters[this_chid]?.name} lore (${baseWorldName}) has ${entries.length} world info entries`);
|
console.debug(`Character ${name} lore (${Array.from(worldsToSearch)}) has ${entries.length} world info entries`);
|
||||||
return entries;
|
return entries;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user