Fix new character highlight

266752bf931157432c580e19f6127b1812e0d6e7

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

1 files changed, +1 -1Ignore whitespace
public/script.js+1 -1
@@ -7158,7 +7158,7 @@ export function select_rm_info(type, charId, previousCharId = null) {
7158 importFlashTimeout = setTimeout(function () {7158 importFlashTimeout = setTimeout(function () {
7159 if (type === 'char_import' || type === 'char_create') {7159 if (type === 'char_import' || type === 'char_create') {
7160 // Find the page at which the character is located7160 // Find the page at which the character is located
7161 const avatarFileName = `${charId}.png`;7161 const avatarFileName = charId;
7162 const charData = getEntitiesList({ doFilter: true });7162 const charData = getEntitiesList({ doFilter: true });
7163 const charIndex = charData.findIndex((x) => x?.item?.avatar?.startsWith(avatarFileName));7163 const charIndex = charData.findIndex((x) => x?.item?.avatar?.startsWith(avatarFileName));
71647164