aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-09-03 10:27:49 +0200
committerstonedDiscord <Tukz@gmx.de>2025-09-03 10:27:49 +0200
commite58dcb7186bb3c80ba87279a6643fcb4b8b3b2be (patch)
tree8de01c198902b2341fc53029025681735225c807 /webAO/packets
parent14b569e05ab43baf76fd6404ca50a2b05a843134 (diff)
emotions
Diffstat (limited to 'webAO/packets')
-rw-r--r--webAO/packets/handlers/handlePV.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/packets/handlers/handlePV.ts b/webAO/packets/handlers/handlePV.ts
index 900ea89..4ac747f 100644
--- a/webAO/packets/handlers/handlePV.ts
+++ b/webAO/packets/handlers/handlePV.ts
@@ -58,9 +58,8 @@ export const handlePV = async (args: string[]) => {
}
// Make sure the asset server is case insensitive, or that everything on it is lowercase
- const extensionsMap = [".png", ".webp"];
let url;
- for (const extension of extensionsMap) {
+ for (const extension of client.emotions_extensions) {
url = `${AO_HOST}characters/${encodeURI(
me.name.toLowerCase(),
)}/emotions/button${i}_off${extension}`;