WORLDINFO_SORTING changed to WORLDINFO_ENTRIES_LOADED

53d96deaffd009733e7c1a5323f9957d1cd9003d

zonde306 <anonymous@localhost>

2 files changed, +2 -2Ignore whitespace
public/scripts/events.js+1 -1
@@ -86,7 +86,7 @@ export const event_types = {
86 PRESET_CHANGED: 'preset_changed',86 PRESET_CHANGED: 'preset_changed',
87 PRESET_DELETED: 'preset_deleted',87 PRESET_DELETED: 'preset_deleted',
88 MAIN_API_CHANGED: 'main_api_changed',88 MAIN_API_CHANGED: 'main_api_changed',
89 WORLDINFO_SORTING: 'worldinfo_sorting',89 WORLDINFO_ENTRIES_LOADED: 'worldinfo_entries_loaded',
90};90};
9191
92export const eventSource = new EventEmitter([event_types.APP_READY]);92export const eventSource = new EventEmitter([event_types.APP_READY]);
public/scripts/world-info.js+1 -1
@@ -4107,7 +4107,7 @@ export async function getSortedEntries() {
4107 getPersonaLore(),4107 getPersonaLore(),
4108 ]);4108 ]);
41094109
4110 await eventSource.emit(event_types.WORLDINFO_SORTING, { globalLore, characterLore, chatLore, personaLore });4110 await eventSource.emit(event_types.WORLDINFO_ENTRIES_LOADED, { globalLore, characterLore, chatLore, personaLore });
41114111
4112 let entries;4112 let entries;
41134113