aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/setEmote.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/setEmote.ts')
-rw-r--r--webAO/client/setEmote.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/client/setEmote.ts b/webAO/client/setEmote.ts
index 70f23ac..4c05afc 100644
--- a/webAO/client/setEmote.ts
+++ b/webAO/client/setEmote.ts
@@ -23,9 +23,8 @@ const setEmote = async (
const emoteSelector = document.getElementById(
`client_${position}${pairID}_img`,
) as HTMLImageElement;
- const extensionsMap = [".gif", ".png", ".apng", ".webp", ".webp.static"];
- for (const extension of extensionsMap) {
+ for (const extension of client.emote_extensions) {
// Hides all sprites before creating a new sprite
if (