aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-07-12 15:13:30 +0200
committerGitHub <noreply@github.com>2022-07-12 15:13:30 +0200
commit9ac75a06cd792074eaf7b3fbf3a1e5c482be60ac (patch)
tree2b937f8be80249f6991cf42cf1288c7af88537d5
parent3e8704e509f65bb5896e2efa4d49e8aaa5431799 (diff)
log preanim length
-rw-r--r--webAO/client.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/webAO/client.ts b/webAO/client.ts
index 54084b7..2af1ab9 100644
--- a/webAO/client.ts
+++ b/webAO/client.ts
@@ -2231,6 +2231,7 @@ class Viewport {
if (this.chatmsg.type === 1 && this.chatmsg.preanim !== '-') { //we have a preanim
chatContainerBox.style.opacity = '0';
gifLength = await getAnimLength(`${AO_HOST}characters/${encodeURI(this.chatmsg.name.toLowerCase())}/${encodeURI(this.chatmsg.preanim)}`);
+ console.debug("preanim is "+gifLength+" long");
this.chatmsg.startspeaking = false;
} else {
this.chatmsg.startspeaking = true;