WORLDINFO_SORTING changed to WORLDINFO_ENTRIES_LOADED

This commit is contained in:
zonde306
2025-07-25 04:09:33 +08:00
parent ac759e5b7e
commit 53d96deaff
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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]);
+1 -1
View File
@@ -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;