Don't require a primary WI to use additionals
This commit is contained in:
parent
7249294ffd
commit
e7772f04a4
|
@ -2669,7 +2669,6 @@ async function getCharacterLore() {
|
|||
worldsToSearch.add(baseWorldName);
|
||||
} else {
|
||||
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?
|
||||
|
@ -2696,7 +2695,7 @@ async function getCharacterLore() {
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue