aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/utils/handleICSpeaking.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2024-10-17 18:31:50 +0200
committerstonedDiscord <Tukz@gmx.de>2024-10-17 18:31:50 +0200
commit9d598e8ce14ef5c8ca5b8e1355caeebe5845d4eb (patch)
tree6a4284ae42731d5dbf498cdc1ffb1969c93fa40a /webAO/viewport/utils/handleICSpeaking.ts
parent75fd8fc2fd8375e20a696a1c18bda37e0d517adf (diff)
parentbbf9099167334abf4fcbd76b4cfa2ff18600c3ce (diff)
Merge branch 'master' of https://github.com/AttorneyOnline/webAO
Diffstat (limited to 'webAO/viewport/utils/handleICSpeaking.ts')
-rw-r--r--webAO/viewport/utils/handleICSpeaking.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/webAO/viewport/utils/handleICSpeaking.ts b/webAO/viewport/utils/handleICSpeaking.ts
index 4fe68d3..d5bd29f 100644
--- a/webAO/viewport/utils/handleICSpeaking.ts
+++ b/webAO/viewport/utils/handleICSpeaking.ts
@@ -78,7 +78,9 @@ export const handle_ic_speaking = async (playerChatMsg: ChatMsg) => {
: client.viewport.getChatmsg().nameplate!;
// Clear out the last message
- chatBoxInner.innerText = client.viewport.getTextNow();
+ if (!client.viewport.getChatmsg().additive) {
+ chatBoxInner.innerText = client.viewport.getTextNow();
+ }
nameBoxInner.innerText = displayname;
if (client.viewport.getLastCharacter() !== client.viewport.getChatmsg().name) {