Skip to content

Commit

Permalink
Fix new character highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
Cohee1207 committed Nov 3, 2024
1 parent 17b7f17 commit fb48d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7185,7 +7185,7 @@ export function select_rm_info(type, charId, previousCharId = null) {
importFlashTimeout = setTimeout(function () {
if (type === 'char_import' || type === 'char_create') {
// Find the page at which the character is located
const avatarFileName = `${charId}.png`;
const avatarFileName = charId;
const charData = getEntitiesList({ doFilter: true });
const charIndex = charData.findIndex((x) => x?.item?.avatar?.startsWith(avatarFileName));

Expand Down

0 comments on commit fb48d25

Please sign in to comment.