diff options
| -rw-r--r-- | .github/workflows/deploy.yml | 2 | ||||
| -rw-r--r-- | webAO/packets/handlers/handleMS.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1d5aa40..be37f83 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,7 +21,7 @@ jobs: - name: Build Project run: npm run build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.7.2 + uses: JamesIves/github-pages-deploy-action@v4.7.3 with: branch: gh-pages # The branch the action should deploy to. folder: dist # The folder the action should deploy. diff --git a/webAO/packets/handlers/handleMS.ts b/webAO/packets/handlers/handleMS.ts index 7685bd6..2622fe6 100644 --- a/webAO/packets/handlers/handleMS.ts +++ b/webAO/packets/handlers/handleMS.ts @@ -10,8 +10,8 @@ import { handle_ic_speaking } from "../../viewport/utils/handleICSpeaking"; * @param {*} args packet arguments */ export const handleMS = (args: string[]) => { - // TODO: this if-statement might be a bug. - if (args[4] !== client.viewport.getChatmsg().content) { + // duplicate message + if (args[5] !== client.viewport.getChatmsg().content) { const char_id = Number(args[9]); const char_name = safeTags(args[3]); |
