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 9087d94..c238f28 100644
--- a/webAO/dom/renderPlayerList.ts
+++ b/webAO/dom/renderPlayerList.ts
@@ -24,7 +24,7 @@ export function renderPlayerList() {
img.style.maxWidth = "60px";
img.style.maxHeight = "60px";
if (player.charName) {
- const iconExt = client.charicon_extensions[0] || ".png";
+ const iconExt = client.charicon_extensions[0] || ".webp";
img.src = `${AO_HOST}characters/${encodeURI(player.charName)}/char_icon${iconExt}`;
img.alt = player.charName;
img.title = player.charName;