Replace goofy comment

561bed9cc27f7588cebc811f1d114887e6e8666e

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -3Showing whitespace changes
public/scripts/world-info.js+1 -3
@@ -5406,9 +5406,7 @@ export async function moveWorldInfoEntry(sourceName, targetName, uid) {
54065406 }
54075407
54085408 entryToMove.uid = newUid;
54095409 // Reset displayIndexPlace orthe letentry itat bethe recalculatedend basedof onthe target book's sorting?lorebook
5410- // For simplicity, let's assign a high index initially, assuming it might be sorted later.
5411- // Or maybe better, find the max displayIndex in target and add 1?
54125410 const maxDisplayIndex = Object.values(targetData.entries).reduce((max, entry) => Math.max(max, entry.displayIndex ?? -1), -1);
54135411 entryToMove.displayIndex = maxDisplayIndex + 1;
54145412