WORLDINFO_SORTING changed to WORLDINFO_ENTRIES_LOADED
This commit is contained in:
@@ -86,7 +86,7 @@ export const event_types = {
|
||||
PRESET_CHANGED: 'preset_changed',
|
||||
PRESET_DELETED: 'preset_deleted',
|
||||
MAIN_API_CHANGED: 'main_api_changed',
|
||||
WORLDINFO_SORTING: 'worldinfo_sorting',
|
||||
WORLDINFO_ENTRIES_LOADED: 'worldinfo_entries_loaded',
|
||||
};
|
||||
|
||||
export const eventSource = new EventEmitter([event_types.APP_READY]);
|
||||
|
||||
@@ -4107,7 +4107,7 @@ export async function getSortedEntries() {
|
||||
getPersonaLore(),
|
||||
]);
|
||||
|
||||
await eventSource.emit(event_types.WORLDINFO_SORTING, { globalLore, characterLore, chatLore, personaLore });
|
||||
await eventSource.emit(event_types.WORLDINFO_ENTRIES_LOADED, { globalLore, characterLore, chatLore, personaLore });
|
||||
|
||||
let entries;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user