mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Save both files immediately
This commit is contained in:
@@ -5419,9 +5419,9 @@ export async function moveWorldInfoEntry(sourceName, targetName, uid) {
|
||||
console.debug(`[WI Move] Removed entry UID ${entryUidString} from source '${sourceName}'.`);
|
||||
|
||||
|
||||
await saveWorldInfo(targetName, targetData);
|
||||
await saveWorldInfo(targetName, targetData, true);
|
||||
console.debug(`[WI Move] Saved target lorebook '${targetName}'.`);
|
||||
await saveWorldInfo(sourceName, sourceData);
|
||||
await saveWorldInfo(sourceName, sourceData, true);
|
||||
console.debug(`[WI Move] Saved source lorebook '${sourceName}'.`);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user