diff options
| author | Caleb <caleb.mabry.15@cnu.edu> | 2022-09-11 16:26:49 -0400 |
|---|---|---|
| committer | Caleb <caleb.mabry.15@cnu.edu> | 2022-09-11 16:26:49 -0400 |
| commit | 3bc1d8ca5bc74f40d96c9f4edf7f5b1adee188a4 (patch) | |
| tree | d4708cd5c7e2b64796da87f971e1ab84c575a428 /webAO | |
| parent | 3929d4cc4c217738cdda8ec02d1668d0fea20935 (diff) | |
Refactor getChatmsg
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/packets/handlers/handleMS.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/packets/handlers/handleMS.ts b/webAO/packets/handlers/handleMS.ts index 22bbab6..92d65db 100644 --- a/webAO/packets/handlers/handleMS.ts +++ b/webAO/packets/handlers/handleMS.ts @@ -9,7 +9,7 @@ import { handle_ic_speaking } from '../../viewport/utils/handleICSpeaking' */ export const handleMS = (args: string[]) => { // TODO: this if-statement might be a bug. - if (args[4] !== client.viewport.chatmsg.content) { + if (args[4] !== client.viewport.getChatmsg().content) { document.getElementById("client_inner_chat")!.innerHTML = ""; const char_id = Number(args[9]); |
