aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/renderPlayerList.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/dom/renderPlayerList.ts')
-rw-r--r--webAO/dom/renderPlayerList.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/dom/renderPlayerList.ts b/webAO/dom/renderPlayerList.ts
index 48354ae..9087d94 100644
--- a/webAO/dom/renderPlayerList.ts
+++ b/webAO/dom/renderPlayerList.ts
@@ -25,7 +25,7 @@ export function renderPlayerList() {
img.style.maxHeight = "60px";
if (player.charName) {
const iconExt = client.charicon_extensions[0] || ".png";
- img.src = `${AO_HOST}characters/${encodeURI(player.charName.toLowerCase())}/char_icon${iconExt}`;
+ img.src = `${AO_HOST}characters/${encodeURI(player.charName)}/char_icon${iconExt}`;
img.alt = player.charName;
img.title = player.charName;
}