From 266752bf931157432c580e19f6127b1812e0d6e7 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 4 Nov 2024 00:41:59 +0200 Subject: [PATCH] Fix new character highlight --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index aa6c63b2e..30e729778 100644 --- a/public/script.js +++ b/public/script.js @@ -7158,7 +7158,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));