From a6cb32eb70888c163a0f4c5a0fdf231c0fb2e6fd Mon Sep 17 00:00:00 2001 From: Colourless <205353678+AcrylonitrileButadieneStyrene@users.noreply.github.com> Date: Thu, 12 Mar 2026 22:49:16 -0400 Subject: [PATCH] replace # with %23 in sprite lookup --- playerlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playerlist.js b/playerlist.js index 03095ded..1266b942 100644 --- a/playerlist.js +++ b/playerlist.js @@ -1002,7 +1002,7 @@ async function getSpriteProfileImg(sprite, idx, favicon, dir, gameId) { }; } - img.src = !sprite?.startsWith('#') ? `${dir}${sprite}.png` : ''; + img.src = `${dir}${sprite?.replace("#", "%23")}.png`; }); }