aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets
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/packets
parent75fd8fc2fd8375e20a696a1c18bda37e0d517adf (diff)
parentbbf9099167334abf4fcbd76b4cfa2ff18600c3ce (diff)
Merge branch 'master' of https://github.com/AttorneyOnline/webAO
Diffstat (limited to 'webAO/packets')
-rw-r--r--webAO/packets/handlers/handleMS.ts10
1 files changed, 4 insertions, 6 deletions
diff --git a/webAO/packets/handlers/handleMS.ts b/webAO/packets/handlers/handleMS.ts
index 1c30d55..0c54a57 100644
--- a/webAO/packets/handlers/handleMS.ts
+++ b/webAO/packets/handlers/handleMS.ts
@@ -4,16 +4,14 @@ import { client, extrafeatures, UPDATE_INTERVAL } from "../../client";
import { handleCharacterInfo } from "../../client/handleCharacterInfo";
import { resetICParams } from "../../client/resetICParams";
import { prepChat, safeTags } from "../../encoding";
-import { handle_ic_speaking } from '../../viewport/utils/handleICSpeaking'
+import { handle_ic_speaking } from "../../viewport/utils/handleICSpeaking";
/**
- * Handles an in-character chat message.
- * @param {*} args packet arguments
- */
+ * Handles an in-character chat message.
+ * @param {*} args packet arguments
+ */
export const handleMS = (args: string[]) => {
// TODO: this if-statement might be a bug.
if (args[4] !== client.viewport.getChatmsg().content) {
- document.getElementById("client_inner_chat")!.innerHTML = "";
-
const char_id = Number(args[9]);
const char_name = safeTags(args[3]);