diff options
| author | stonedDiscord <Tukz@gmx.de> | 2025-10-26 01:01:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-26 01:01:05 +0200 |
| commit | 43b11cd79e10d3625b1bacfca9002156e7c3ea90 (patch) | |
| tree | 6d16eac313a2d33f1dc4935ef0bcd0cc98c23866 /webAO | |
| parent | 11bbece1877701129eb5ede476161c1095557905 (diff) | |
| parent | 99d6cd425e9f98f25e4c1929e7123ad6f9adad4b (diff) | |
Merge pull request #274 from Bruma1re/patch-1
IC: treat empty preanim string as no preanim
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/viewport/utils/handleICSpeaking.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/viewport/utils/handleICSpeaking.ts b/webAO/viewport/utils/handleICSpeaking.ts index bae4986..b037e69 100644 --- a/webAO/viewport/utils/handleICSpeaking.ts +++ b/webAO/viewport/utils/handleICSpeaking.ts @@ -168,7 +168,8 @@ export const handle_ic_speaking = async (playerChatMsg: ChatMsg) => { if ( client.viewport.getChatmsg().type === 1 && - client.viewport.getChatmsg().preanim !== "-" + client.viewport.getChatmsg().preanim !== "-" && + client.viewport.getChatmsg().preanim !== "" ) { //we have a preanim chatContainerBox.style.opacity = "0"; |
