Fix new character highlight

fb48d250419cfbf327cfd13c4609b35bce1e600c

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

1 files changed, +1 -1Showing whitespace changes
public/script.js+1 -1
@@ -7185,7 +7185,7 @@ export function select_rm_info(type, charId, previousCharId = null) {
7185 importFlashTimeout = setTimeout(function () {7185 importFlashTimeout = setTimeout(function () {
7186 if (type === 'char_import' || type === 'char_create') {7186 if (type === 'char_import' || type === 'char_create') {
7187 // Find the page at which the character is located7187 // Find the page at which the character is located
7188 const avatarFileName = `${charId}.png`;7188 const avatarFileName = charId;
7189 const charData = getEntitiesList({ doFilter: true });7189 const charData = getEntitiesList({ doFilter: true });
7190 const charIndex = charData.findIndex((x) => x?.item?.avatar?.startsWith(avatarFileName));7190 const charIndex = charData.findIndex((x) => x?.item?.avatar?.startsWith(avatarFileName));
71917191